CVE-2026-40606

ProxyAuth Addon LDAP Injection in mitmproxy

Published Apr 21, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-527g-3w9m-29hv mitmproxy has an LDAP Injection
History
Type Values Removed Values Added
CPEs cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mitmproxy
Mitmproxy mitmproxy
Vendors & Products Mitmproxy
Mitmproxy mitmproxy
Type Values Removed Values Added
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.
Title ProxyAuth Addon LDAP Injection in mitmproxy
Weaknesses CWE-90
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2026, 1:26 PM
Reserved
Apr 14, 2026, 2:07 PM
Status
Analyzed
Published
Apr 21, 2026, 6:16 PM
Modified
Nov 11, 2026, 11:10 PM