Lacking Protection against HTTP Request Smuggling in mitmproxy
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
mitmproxy is an interactive, SSL/TLS-capable intercepting proxy. In mitmproxy 7.0.2 and below, a malicious client or server is able to perform HTTP request smuggling attacks through mitmproxy. This means that a malicious client/server could smuggle a request/response through mitmproxy as part of another request/response's HTTP message body. While a smuggled request is still captured as part of another request's body, it does not appear in the request list and does not go through the usual mitmproxy event hooks, where users may have implemented custom access control checks or input sanitization. Unless one uses mitmproxy to protect an HTTP/1 service, no action is required. The vulnerability has been fixed in mitmproxy 7.0.3 and above.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mitmproxy | mitmproxy | before 7.0.3 | 7.0.3 | Patch available | CNA |
| — | mitmproxy (PyPI) | before 7.0.3 | 7.0.3 | Patch available | GHSA-22gh-3r9q-xf38 |
- mitmproxy Vendormitmproxy Affected before 7.0.3 Fixed in 7.0.3 Patch available CNA
- mitmproxy (PyPI) Vendor— Affected before 7.0.3 Fixed in 7.0.3 Patch available GHSA-22gh-3r9q-xf38
Remediation
- Fix · CNA mitmproxy (mitmproxy) Fixed in 7.0.3
- Fix · GHSA-22gh-3r9q-xf38 mitmproxy (PyPI) Fixed in 7.0.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-39214
- 2026-10-03 Alias added: GHSA-22gh-3r9q-xf38
References
More Mitmproxy vulnerabilities
- TI-2022-08580 Insufficient Protection against HTTP Request Smuggling in mitmproxy CVSS 3.1CRITICAL 9.8
- TI-2018-10406 mitmweb in mitmproxy v4.0.3 allows DNS Rebinding attacks, related to tools/web/app.py. CVSS 3.0HIGH 8.8
- TI-2026-29342 ProxyAuth Addon LDAP Injection in mitmproxy CVSS 3.1MEDIUM 4.8
Sources
- CVE-2021-39214 · CVE Program
- CVE-2021-39214 · NVD
- FIRST EPSS
- GHSA-22gh-3r9q-xf38 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences