CVE-2026-40606
published medium CVSS 3.1 · 4.8ProxyAuth Addon LDAP Injection in mitmproxy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mitmproxy | — | mitmproxy< 12.2.2 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | mitmproxy | Fixed | 12.3.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mitmproxyaarch64 | Advisory build | 12.2.2-1.1 | OPENSUSE-SU-2026:10622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mitmproxyppc64le | Advisory build | 12.2.2-1.1 | OPENSUSE-SU-2026:10622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mitmproxys390x | Advisory build | 12.2.2-1.1 | OPENSUSE-SU-2026:10622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mitmproxyx86_64 | Advisory build | 12.2.2-1.1 | OPENSUSE-SU-2026:10622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mitmproxyaarch64 | Advisory build | 12.2.2-1.1 | OPENSUSE-SU-2026:10622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mitmproxyppc64le | Advisory build | 12.2.2-1.1 | OPENSUSE-SU-2026:10622-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mitmproxys390x | Advisory build | 12.2.2-1.1 | OPENSUSE-SU-2026:10622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mitmproxyx86_64 | Advisory build | 12.2.2-1.1 | OPENSUSE-SU-2026:10622-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mitmproxy | mitmproxy | < 12.2.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-90 CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')
References
1Provider assertions
2GitHub_M · cna
ProxyAuth Addon LDAP Injection in mitmproxy
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5e085e49fda984ac9f3390a99ae57346146cdb4bb4dc6353dcb4f5e79615cc11
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record