mitmproxy has an LDAP Injection
Impact
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.
Patches
The vulnerability has been fixed in mitmproxy 12.2.2 and above.
Acknowledgements
We thank Yue (Knox) Liu (@yueyueL) for responsibly disclosing this vulnerability to the mitmproxy team.
Timeline
- 2025-12-08: Received initial report.
- 2025-12-09: Verified report and confirmed receipt.
- 2026-01-02: Informed researcher that patch will be part of the next regular patch release.
- 2026-04-12: Published patch release and advisory.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | mitmproxy | < 12.2.2 | 12.2.2 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N- Schwäche (CWE)
CWE-90- Plattform
- Python (PyPI)
- Paket
mitmproxy- Veröffentlicht
- 14.04.2026
- Aktualisiert
- 11.10.2026 12:19
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-92 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-527g-3w9m-29hv - CC BY 4.0
Schwachstellenhistorie: mitmproxy
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 6
- Erste → letzte
- 07.2018 04.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 3
- Hoch 1
- Mittel 2
Veröffentlichungen pro Jahr
- 2018: 1
- 2019: 0
- 2020: 0
- 2021: 1
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 2
- 2026: 1
-
mitmproxy has an LDAP Injection dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.