# CVE-2026-40606: ProxyAuth Addon LDAP Injection in mitmproxy

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 12% of CVEs (2026-11-30)
- Published: 2026-04-14T01:08:52.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-527g-3w9m-29hv, PYSEC-2026-92
- Weaknesses: CWE-90
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- mitmproxy mitmproxy: < 12.2.2; before 12.2.2
- mitmproxy (PyPI): before 12.2.2

## Every score

- GitHub_M: 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`
- GitHub: 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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40606> (advisory)
- <https://github.com/mitmproxy/mitmproxy> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2026-92.yaml> (web)

## Sources

- CVE List: [CVE-2026-40606](https://www.cve.org/CVERecord?id=CVE-2026-40606), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-527g-3w9m-29hv](https://github.com/advisories/GHSA-527g-3w9m-29hv), CC-BY-4.0, modified 2026-06-06
- NVD: [CVE-2026-40606](https://nvd.nist.gov/vuln/detail/CVE-2026-40606), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-92](https://osv.dev/vulnerability/PYSEC-2026-92), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-40606 · Whole record: https://cve.day/CVE-2026-40606.json · Rebuilt by cve.day 2026-11-25T22:59:19.127Z
