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.
History

Fri, 24 Apr 2026 13:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:*

Wed, 22 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 22 Apr 2026 03:45:00 +0000

Type Values Removed Values Added
First Time appeared Mitmproxy
Mitmproxy mitmproxy
Vendors & Products Mitmproxy
Mitmproxy mitmproxy

Wed, 22 Apr 2026 00:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-22T13:26:03.183Z

Reserved: 2026-04-14T14:07:59.642Z

Link: CVE-2026-40606

cve-icon Vulnrichment

Updated: 2026-04-22T13:25:56.411Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-21T18:16:52.127

Modified: 2026-04-24T13:33:57.883

Link: CVE-2026-40606

cve-icon Redhat

No data.