ADVISORIES

Vulnerability

CVE-2026-40606

mitmproxy is a interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers and mitmweb is a web-based interface for mitmproxy. In mitmproxy 12.2.1 and below, the builtin LDAP proxy authentication does not correctly sanitize the username when querying the LDAP server. This allows a malicious client to bypass authentication. Only mitmproxy instances using the proxyauth option with LDAP are affected. This option is not enabled by default. The vulnerability has been fixed in mitmproxy 12.2.2 and above.

6 advisories report this vulnerability, across 5 ecosystems.

Advisories in PyPI

  • GHSA-527g-3w9m-29hv

    mitmproxy has an LDAP Injection

    Moderate CVE-2026-40606 PyPI Updated 6 June 2026
  • PYSEC-2026-92

    mitmproxy is a interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers and mitmweb is a web-based interface for mitmproxy. In mitmproxy 12.2.1 and below, the builtin LDAP proxy…

    CVE-2026-40606 PyPI Updated 20 May 2026

References