ProxyAuth Addon LDAP Injection in mitmproxy
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mitmproxy | mitmproxy | before 12.2.2 | 12.2.2 | Patch available | CNA |
| — | mitmproxy (PyPI) | before 12.2.2 | 12.2.2 | Patch available | GHSA-527g-3w9m-29hv |
- mitmproxy Vendormitmproxy Affected before 12.2.2 Fixed in 12.2.2 Patch available CNA
- mitmproxy (PyPI) Vendor— Affected before 12.2.2 Fixed in 12.2.2 Patch available GHSA-527g-3w9m-29hv
Remediation
- Fix · CNA mitmproxy (mitmproxy) Fixed in 12.2.2
- Fix · GHSA-527g-3w9m-29hv mitmproxy (PyPI) Fixed in 12.2.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40606
- 2026-10-03 Alias added: GHSA-527g-3w9m-29hv
References
More Mitmproxy vulnerabilities
- TI-2022-08580 Insufficient Protection against HTTP Request Smuggling in mitmproxy CVSS 3.1CRITICAL 9.8
- TI-2021-16599 Lacking Protection against HTTP Request Smuggling in mitmproxy CVSS 3.1CRITICAL 9.8
- TI-2018-10406 mitmweb in mitmproxy v4.0.3 allows DNS Rebinding attacks, related to tools/web/app.py. CVSS 3.0HIGH 8.8
Sources
- CVE-2026-40606 · CVE Program
- CVE-2026-40606 · NVD
- FIRST EPSS
- GHSA-527g-3w9m-29hv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences