Read the docs
TI-2026-29342 Aliases CVE-2026-40606GHSA-527g-3w9m-29hv

ProxyAuth Addon LDAP Injection in mitmproxy

Priority LOW 21CWE-90Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00166 5th percentileScored 2026-11-07
Fix Fixed mitmproxy (mitmproxy): 12.2.2mitmproxy (PyPI): 12.2.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mitmproxymitmproxybefore 12.2.212.2.2Patch availableCNA
—mitmproxy (PyPI)before 12.2.212.2.2Patch availableGHSA-527g-3w9m-29hv
  • mitmproxy Vendormitmproxy Affected before 12.2.2 Fixed in 12.2.2 Patch available CNA
  • mitmproxy (PyPI) Vendor— Affected before 12.2.2 Fixed in 12.2.2 Patch available GHSA-527g-3w9m-29hv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:*before 12.2.2Vulnerablemitmproxy
  • cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:* Versions before 12.2.2 Vulnerable ·mitmproxy

Remediation

  • Fix · CNA mitmproxy (mitmproxy) Fixed in 12.2.2
  • Fix · GHSA-527g-3w9m-29hv mitmproxy (PyPI) Fixed in 12.2.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40606
  2. 2026-10-03 Alias added: GHSA-527g-3w9m-29hv

References

  • TI-2022-08580 Insufficient Protection against HTTP Request Smuggling in mitmproxy CVSS 3.1CRITICAL 9.8
  • TI-2021-16599 Lacking Protection against HTTP Request Smuggling in mitmproxy CVSS 3.1CRITICAL 9.8
  • TI-2018-10406 mitmweb in mitmproxy v4.0.3 allows DNS Rebinding attacks, related to tools/web/app.py. CVSS 3.0HIGH 8.8

Sources