# CVE-2022-24766: Insufficient Protection against HTTP Request Smuggling in mitmproxy

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/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.63%, higher than 76% of CVEs (2026-12-01)
- Published: 2022-03-21T18:50:10.000Z
- Modified: 2026-06-17T04:32:28.263Z
- Also known as: GHSA-gcx2-gvj7-pxv3, PYSEC-2022-170
- Weaknesses: CWE-444
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

mitmproxy is an interactive, SSL/TLS-capable intercepting proxy. In mitmproxy 7.0.4 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 mitmproxy would only see one request, the target server would see multiple requests. A smuggled request is still captured as part of another request's body, but 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 mitmproxy is used to protect an HTTP/1 service, no action is required. The vulnerability has been fixed in mitmproxy 8.0.0 and above. There are currently no known workarounds.

(As written by CVE List.)

## Affected

- mitmproxy mitmproxy: <= 7.0.4; up to 7.0.4
- mitmproxy (PyPI): before 8.0.0; before b06fb6d157087d526bd02e7aadbe37c56865c71b

## Every score

- GitHub_M: 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`
- GitHub: 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`
- 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-gcx2-gvj7-pxv3> (advisory, third-party-advisory, web)
- <https://github.com/mitmproxy/mitmproxy/commit/b06fb6d157087d526bd02e7aadbe37c56865c71b> (fix, patch, third-party-advisory, web)
- <https://mitmproxy.org/posts/releases/mitmproxy8/> (release-notes, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24766> (advisory)
- <https://github.com/mitmproxy/mitmproxy> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2022-170.yaml> (web)
- <https://mitmproxy.org/posts/releases/mitmproxy8> (web)

## Sources

- CVE List: [CVE-2022-24766](https://www.cve.org/CVERecord?id=CVE-2022-24766), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-gcx2-gvj7-pxv3](https://github.com/advisories/GHSA-gcx2-gvj7-pxv3), CC-BY-4.0, modified 2025-02-22
- NVD: [CVE-2022-24766](https://nvd.nist.gov/vuln/detail/CVE-2022-24766), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-170](https://osv.dev/vulnerability/PYSEC-2022-170), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-24766 · Whole record: https://cve.day/CVE-2022-24766.json · Rebuilt by cve.day 2026-11-25T22:58:10.215Z
