# CVE-2021-39214: Lacking Protection against HTTP Request Smuggling in mitmproxy

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.28%, higher than 70% of CVEs (2026-12-01)
- Published: 2021-09-16T15:10:10.000Z
- Modified: 2026-07-08T06:27:31.868Z
- Also known as: GHSA-22gh-3r9q-xf38, PYSEC-2021-328
- Weaknesses: CWE-444
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- mitmproxy mitmproxy: < 7.0.3; up to 7.0.2
- mitmproxy (PyPI): before 7.0.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-22gh-3r9q-xf38> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39214> (advisory)
- <https://github.com/mitmproxy/mitmproxy> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2021-328.yaml> (web)

## Sources

- CVE List: [CVE-2021-39214](https://www.cve.org/CVERecord?id=CVE-2021-39214), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-22gh-3r9q-xf38](https://github.com/advisories/GHSA-22gh-3r9q-xf38), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39214](https://nvd.nist.gov/vuln/detail/CVE-2021-39214), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-328](https://osv.dev/vulnerability/PYSEC-2021-328), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-39214 · Whole record: https://cve.day/CVE-2021-39214.json · Rebuilt by cve.day 2026-11-25T22:58:04.008Z
