CVE-2026-40606

published 21 Apr 2026 · updated 11 Nov 2026

ProxyAuth Addon LDAP Injection in mitmproxy

4.8MediumCVSS 4.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 12.2.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mitmproxymitmproxy<12.2.212.2.2
mitmproxy<12.2.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40606 severity on Zeptric[![CVE-2026-40606](https://zeptric.io/badge/cve/CVE-2026-40606.svg)](https://zeptric.io/cve/CVE-2026-40606)