Medium severity4.8NVD Advisory· Published Apr 21, 2026· Updated Apr 24, 2026
CVE-2026-40606
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mitmproxyPyPI | < 12.2.2 | 12.2.2 |
Affected products
3- ghsa-coords2 versions
< 12.2.2+ 1 more
- (no CPE)range: < 12.2.2
- (no CPE)range: < 12.2.2-1.1
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.