PYSEC-2026-92
Vulnerability from pysec - Published: 2026-04-21 18:16 - Updated: 2026-05-20 09:19mitmproxy 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.
| Name | purl | mitmproxy | pkg:pypi/mitmproxy |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "mitmproxy",
"purl": "pkg:pypi/mitmproxy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "12.2.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10",
"0.10.1",
"0.11",
"0.11.1",
"0.11.2",
"0.11.3",
"0.12.0",
"0.12.1",
"0.13",
"0.14.0",
"0.15",
"0.16",
"0.17",
"0.18.1",
"0.18.2",
"0.18.3",
"0.8",
"0.8.1",
"0.9",
"0.9.1",
"0.9.2",
"1.0.0",
"1.0.1",
"1.0.2",
"10.0.0",
"10.1.0",
"10.1.1",
"10.1.2",
"10.1.3",
"10.1.4",
"10.1.5",
"10.1.6",
"10.2.0",
"10.2.1",
"10.2.2",
"10.2.3",
"10.2.4",
"10.3.0",
"10.3.1",
"10.4.0",
"10.4.1",
"10.4.2",
"11.0.0",
"11.0.1",
"11.0.2",
"11.1.0",
"11.1.2",
"11.1.3",
"12.0.0",
"12.0.1",
"12.1.0",
"12.1.1",
"12.1.2",
"12.2.0",
"12.2.1",
"2.0.0",
"2.0.1",
"2.0.2",
"3.0.0",
"3.0.1",
"3.0.2",
"3.0.3",
"3.0.4",
"4.0.0",
"4.0.1",
"4.0.3",
"4.0.4",
"5.0.0",
"5.0.1",
"5.1.0",
"5.1.1",
"5.2",
"5.3.0",
"6.0.0",
"6.0.1",
"6.0.2",
"7.0.0",
"7.0.1",
"7.0.2",
"7.0.3",
"7.0.4",
"8.0.0",
"8.1.0",
"8.1.1",
"9.0.0",
"9.0.1"
]
}
],
"aliases": [
"CVE-2026-40606",
"GHSA-527g-3w9m-29hv"
],
"details": "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.",
"id": "PYSEC-2026-92",
"modified": "2026-05-20T09:19:08.113032Z",
"published": "2026-04-21T18:16:52.127Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.