# CVE-2026-40606

> Vulnerability · severity: **MEDIUM** (CVSS 4.8).

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

## Key facts

- **CVE ID:** CVE-2026-40606
- **Published:** 2026-04-21
- **CVSS severity:** MEDIUM
- **CVSS base score:** 4.8
- **CWE codes:** CWE-90

## Affected products

- `mitmproxy:mitmproxy`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40606

## Citation

> AI Analytics. CVE-2026-40606. Retrieved 2026-07-20 from https://api.ai-analytics.org/cve/CVE-2026-40606. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*