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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:*

History

24 Apr 2026, 13:33

Type Values Removed Values Added
References () https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv - () https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv - Vendor Advisory
CPE cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:*
First Time Mitmproxy
Mitmproxy mitmproxy

21 Apr 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-21 18:16

Updated : 2026-04-24 13:33


NVD link : CVE-2026-40606

Mitre link : CVE-2026-40606

CVE.ORG link : CVE-2026-40606


JSON object : View

Products Affected

mitmproxy

  • mitmproxy
CWE
CWE-90

Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')