Live threats

All CVEs / Mitmproxy

CVE-2022-24766Mitmproxy

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Mar 21, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-444
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mitmproxy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mitmproxy < 8.0.0 8.0.0 pip install "mitmproxy>=8.0.0"
PyPI mitmproxy < 8.0.0 8.0.0 pip install "mitmproxy>=8.0.0"

Per OSV / GitHub Advisories (GHSA-gcx2-gvj7-pxv3, PYSEC-2022-170). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mitmproxymitmproxy≤ 7.0.4

Official sources

References

Links published by the sources. Open them with care.