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.

Project Subscriptions

Vendors Products
Mitmproxy Subscribe
Mitmproxy Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-527g-3w9m-29hv mitmproxy has an LDAP Injection
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-21T17:43:21.041Z

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

Link: CVE-2026-40606

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-40606

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T05:45:09Z

Weaknesses