### 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.
Update mitmproxy to 12.2.2 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanmitmproxy has an LDAP Injection affects mitmproxy (pip). Severity is medium. ### 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.
AI coding agents often install or upgrade packages automatically in pip. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
### 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.
Update mitmproxy to 12.2.2 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanmitmproxy has an LDAP Injection affects mitmproxy (pip). Severity is medium. ### 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.
AI coding agents often install or upgrade packages automatically in pip. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| mitmproxypip |
|---|
| <=12.2.1 |
| 12.2.2 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| mitmproxypip |
|---|
| <=12.2.1 |
| 12.2.2 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard