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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mitmproxy | mitmproxy | < 12.2.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mitmproxy | 8.1.1-5 | — |
| Debian 12 | mitmproxy | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mitmproxy | No fix yet | — |
| Ubuntu 26.04 LTS | mitmproxy | No fix yet | — |
| Ubuntu 25.10 | mitmproxy | No fix yet | — |
| Ubuntu 24.04 LTS | mitmproxy | No fix yet | — |
| Ubuntu 22.04 LTS | mitmproxy | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | mitmproxy | No fix yet | — |
| Ubuntu 18.04 LTS | mitmproxy | No fix yet | — |
| Ubuntu 16.04 LTS | mitmproxy | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-mitmproxy | 12.2.2-1.1 | openSUSE-SU-2026:10622-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | mitmproxy | < 12.2.2 | 12.2.2 | GHSA-527g-3w9m-29hv |
Advisories 1
- openSUSE-SU-2026:10622-1 python313-mitmproxy-12.2.2-1.1 on GA media SUSE / openSUSE Security Updates · Apr 27, 2026