CVE-2026-40606

CVE-2026-40606 is a medium-severity vulnerability in Mitmproxy with a CVSS 3.x base score of 4.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-90.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2026-40606?
CVE-2026-40606 has a CVSS 3.x base score of 4.8, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2026-40606 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (6th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-40606?
CVE-2026-40606 affects Mitmproxy. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-40606?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2026-40606 have an EU (EUVD) identifier?
Yes. CVE-2026-40606 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24215.
When was CVE-2026-40606 published?
CVE-2026-40606 was published on 2026-04-21 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Mitmproxy

All CVEs affecting Mitmproxy →

Other CWE-90 (LDAP Injection) vulnerabilities

Browse all CWE-90 (LDAP Injection) vulnerabilities →