CVE-2026-40606
MEDIUM 4.8CVSS 3.1mitmproxy has an LDAP Injection
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.
- Published
- 21 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-90
- Also known as
- GHSA-527g-3w9m-29hvPYSEC-2026-92
- Sources
- NVDJSONOSV GHSA-527g-3w9m-29hvJSONOSV PYSEC-2026-92JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mitmproxy | mitmproxycpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:* |
< 12.2.2 | 12.2.2 |
| OSV | PyPI | mitmproxy | < 12.2.2 | 12.2.2 |
References
- https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-40606 · ADVISORY
- https://github.com/mitmproxy/mitmproxy · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2026-92.yaml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Apr 2026)