CVE-2026-40606
ProxyAuth Addon LDAP Injection in mitmproxy
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.8
ProxyAuth Addon LDAP Injection in mitmproxy
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.
- Record
CVE-2026-40606- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-90
- Updated
- 2026-11-02
EUVDEUVD-2026-24215
4.8
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.
- Record
EUVD-2026-24215- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-527g-3w9m-29hv
4.8
mitmproxy has an LDAP Injection
Impact
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.
Patches
The vulnerability has been fixed in mitmproxy 12.2.2 and above.
Acknowledgements
We thank Yue (Knox) Liu (@yueyueL) for responsibly disclosing this vulnerability to the mitmproxy team.
Timeline
- 2025-12-08: Received initial report.
- 2025-12-09: Verified report and confirmed receipt.
- 2026-01-02: Informed researcher that patch will be part of the next regular patch release.
- 2026-04-12: Published patch release and advisory.
- Record
GHSA-527g-3w9m-29hv- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-90
- Updated
- 2026-11-02
NVD
4.8
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.
- Record
CVE-2026-40606- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-90
- Updated
- 2026-11-02
OSV
4.8
ProxyAuth Addon LDAP Injection in mitmproxy
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.
- Record
CVE-2026-40606- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-90
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-40606
4.8
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.
- Record
DEBIAN-CVE-2026-40606- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-527g-3w9m-29hv
4.8
mitmproxy has an LDAP Injection
Impact
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.
Patches
The vulnerability has been fixed in mitmproxy 12.2.2 and above.
Acknowledgements
We thank Yue (Knox) Liu (@yueyueL) for responsibly disclosing this vulnerability to the mitmproxy team.
Timeline
- 2025-12-08: Received initial report.
- 2025-12-09: Verified report and confirmed receipt.
- 2026-01-02: Informed researcher that patch will be part of the next regular patch release.
- 2026-04-12: Published patch release and advisory.
- Record
GHSA-527g-3w9m-29hv- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-90
- Updated
- 2026-11-02
OSVPYSEC-2026-92
4.8
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.
- Record
PYSEC-2026-92- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-40606
4.8
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.
- Record
UBUNTU-CVE-2026-40606- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10622-1 No score
python313-mitmproxy-12.2.2-1.1 on GA media
These are all security issues fixed in the python313-mitmproxy-12.2.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10622-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mitmproxyPyPI |
through 12.2.1 | 12.2.2 |
mitmproxyDebian:12 |
All versions, plus listed versions 8.1.1-28.1.1-38.1.1-4 |
None known |
mitmproxyDebian:14 |
All versions, plus listed versions 0.10-10.10-20.10.1-10.10.1-20.11.3-1 Show 45 moreShow less0.11.3-20.11.3-30.12.1-10.12.1-20.13-10.15-10.15-20.18.1-10.18.1-20.18.2-10.18.2-20.18.2-30.18.2-40.18.2-50.18.2-60.6-10.6-20.6-30.7-10.8-10.8-20.9.1-10.9.1-20.9.2-10.9.2-22.0.2-12.0.2-22.0.2-32.0.2-43.0.3-13.0.4-14.0.4-14.0.4-24.0.4-34.0.4-44.0.4-54.0.4-64.0.4-6.15.1.1-15.1.1-25.3.0-15.3.0-25.3.0-36.0.2-16.0.2-2 |
None known |
mitmproxyPyPI |
before 12.2.2, plus listed versions 0.100.10.10.110.11.10.11.2 Show 45 moreShow less0.11.30.12.00.12.10.130.14.00.150.160.170.18.10.18.20.18.30.80.8.10.90.9.10.9.21.0.01.0.11.0.210.0.010.1.010.1.110.1.210.1.310.1.410.1.510.1.610.2.010.2.110.2.210.2.310.2.410.3.010.3.110.4.010.4.110.4.211.0.011.0.111.0.211.1.011.1.211.1.312.0.012.0.1 |
12.2.2 |
mitmproxyUbuntu:16.04:LTS |
All versions, plus listed versions 0.11.3-30.12.1-20.13-10.15-1 |
None known |
mitmproxyUbuntu:18.04:LTS |
All versions, plus listed versions 2.0.2-22.0.2-3 |
None known |
mitmproxyUbuntu:20.04:LTS |
All versions, plus listed versions 4.0.4-64.0.4-6.1 |
None known |
mitmproxyUbuntu:22.04:LTS |
All versions, plus listed versions 6.0.2-1 |
None known |
mitmproxyUbuntu:24.04:LTS |
All versions, plus listed versions 8.1.1-2 |
None known |
mitmproxyUbuntu:25.10 |
All versions, plus listed versions 8.1.1-28.1.1-3 |
None known |
mitmproxyUbuntu:26.10 |
All versions, plus listed versions 8.1.1-4 |
None known |
mitmproxyUbuntu:26.04:LTS |
All versions, plus listed versions 8.1.1-38.1.1-4 |
None known |
python-mitmproxyopenSUSE:Tumbleweed |
before 12.2.2-1.1 | 12.2.2-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-40606 is a medium vulnerability (CVSS 4.8) in Mitmproxy, published April 14, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 5th percentile. Fixed in mitmproxy 12.2.2.
References
github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv
nvd.nist.gov/vuln/detail/CVE-2026-40606
github.com/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2026-92.yaml
github.com/advisories/GHSA-527g-3w9m-29hv
github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40606.json
security-tracker.debian.org/tracker/CVE-2026-40606
Left out here: 40 versions. The JSON record has them.