CVE-2026-40606

Name
CVE-2026-40606
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
security-advisories@github.com https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:* mitmproxy >= None < 12.2.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
mitmproxy edge-community 11.0.0-r3 Michał Polański <michal@polanski.me> possibly vulnerable
mitmproxy edge-community 11.0.0-r2 Michał Polański <michal@polanski.me> possibly vulnerable
mitmproxy edge-community 11.0.0-r1 Michał Polański <michal@polanski.me> possibly vulnerable
mitmproxy edge-community 11.0.0-r0 Michał Polański <michal@polanski.me> possibly vulnerable
mitmproxy edge-community 7.0.3-r0 None possibly vulnerable
mitmproxy 3.23-community 11.0.0-r0 Michał Polański <michal@polanski.me> possibly vulnerable