CVE-2021-39214
Lacking Protection against HTTP Request Smuggling in mitmproxy
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
Lacking Protection against HTTP Request Smuggling in mitmproxy
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.
- Record
CVE-2021-39214- 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 - Weakness
- CWE-444
- Updated
- 2026-11-02
EUVDEUVD-2021-0135
8.1
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.
- Record
EUVD-2021-0135- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-22gh-3r9q-xf38
9.3
Lacking Protection against HTTP Request Smuggling in mitmproxy
Impact
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 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 you use mitmproxy to protect an HTTP/1 service, no action is required.
Patches
The vulnerability has been fixed in mitmproxy 7.0.3 and above.
Acknowledgements
We thank João Sobral (@chinchila) for responsibly disclosing this vulnerability to the mitmproxy team.
Timeline
- 2021-09-08: Received initial report for mitmproxy <= 6.0.2.
- 2021-09-08: Requested clarification if 7.x is affected.
- 2021-09-10: Received additional details, 7.x situation still unclear.
- 2021-09-13: Internally determined that 7.x is also affected.
- 2021-09-13: Shared initial fix with researcher.
- 2021-09-14: Received confirmation that fix is working, but H2.TE/H2.CL should also be looked at.
- 2021-09-14: Shared revised fix that includes additional H2.TE mitigations.
- 2021-09-14: Received confirmation that revised fix is working.
- 2021-09-16: Completed internal patch review.
- 2021-09-16: Published patch release and advisory.
- Record
GHSA-22gh-3r9q-xf38- CVSS 4.0
- 9.3 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 - 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 - Weakness
- CWE-444
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2021-39214- 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 - 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 - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-444
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-39214
9.8
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.
- Record
ALPINE-CVE-2021-39214- 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 - Updated
- 2026-11-03
OSV
9.8
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.
- Record
CVE-2021-39214- 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 - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2021-39214
9.8
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.
- Record
DEBIAN-CVE-2021-39214- 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 - Updated
- 2026-11-02
OSVGHSA-22gh-3r9q-xf38
9.3
Lacking Protection against HTTP Request Smuggling in mitmproxy
Impact
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 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 you use mitmproxy to protect an HTTP/1 service, no action is required.
Patches
The vulnerability has been fixed in mitmproxy 7.0.3 and above.
Acknowledgements
We thank João Sobral (@chinchila) for responsibly disclosing this vulnerability to the mitmproxy team.
Timeline
- 2021-09-08: Received initial report for mitmproxy <= 6.0.2.
- 2021-09-08: Requested clarification if 7.x is affected.
- 2021-09-10: Received additional details, 7.x situation still unclear.
- 2021-09-13: Internally determined that 7.x is also affected.
- 2021-09-13: Shared initial fix with researcher.
- 2021-09-14: Received confirmation that fix is working, but H2.TE/H2.CL should also be looked at.
- 2021-09-14: Shared revised fix that includes additional H2.TE mitigations.
- 2021-09-14: Received confirmation that revised fix is working.
- 2021-09-16: Completed internal patch review.
- 2021-09-16: Published patch release and advisory.
- Record
GHSA-22gh-3r9q-xf38- CVSS 4.0
- 9.3 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 - 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 - Weakness
- CWE-444
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-39214
8.1
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.
- Record
UBUNTU-CVE-2021-39214- 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 - 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 - Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0232-1 No score
Security update for python-mitmproxy
This update for python-mitmproxy fixes the following issues:
- CVE-2021-39214: Fixed HTTP smuggling attacks (boo#1190603)
- Record
openSUSE-SU-2023:0232-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0233-1 No score
Security update for python-mitmproxy
This update for python-mitmproxy fixes the following issues:
- CVE-2021-39214: Fixed HTTP smuggling attacks (boo#1190603)
- Record
openSUSE-SU-2023:0233-1- Updated
- 2026-11-02
OSVPYSEC-2021-328 No score
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.
- Record
PYSEC-2021-328- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mitmproxyPyPI |
before 7.0.3 | 7.0.3 |
mitmproxyAlpine:v3.21 |
before 7.0.3-r0 | 7.0.3-r0 |
mitmproxyAlpine:v3.22 |
before 7.0.3-r0 | 7.0.3-r0 |
mitmproxyAlpine:v3.23 |
before 7.0.3-r0 | 7.0.3-r0 |
mitmproxyAlpine:v3.24 |
before 7.0.3-r0 | 7.0.3-r0 |
mitmproxyDebian:12 |
before 8.1.1-1 | 8.1.1-1 |
mitmproxyDebian:14 |
before 8.1.1-1, plus listed versions 0.10-10.10-20.10.1-10.10.1-20.11.3-1 Show 45 moreShow less0.11.3-20.11.3-30.12.1-10.12.1-20.13-10.15-10.15-20.18.1-10.18.1-20.18.2-10.18.2-20.18.2-30.18.2-40.18.2-50.18.2-60.6-10.6-20.6-30.7-10.8-10.8-20.9.1-10.9.1-20.9.2-10.9.2-22.0.2-12.0.2-22.0.2-32.0.2-43.0.3-13.0.4-14.0.4-14.0.4-24.0.4-34.0.4-44.0.4-54.0.4-64.0.4-6.15.1.1-15.1.1-25.3.0-15.3.0-25.3.0-36.0.2-16.0.2-2 |
8.1.1-1 |
mitmproxyPyPI |
before 7.0.3, plus listed versions 0.100.10.10.110.11.10.11.2 Show 43 moreShow less0.11.30.12.00.12.10.130.14.00.150.160.170.18.10.18.20.18.30.80.8.10.90.9.10.9.21.0.01.0.11.0.22.0.02.0.12.0.23.0.03.0.13.0.23.0.33.0.44.0.04.0.14.0.34.0.45.0.05.0.15.1.05.1.15.25.3.06.0.06.0.16.0.27.0.07.0.17.0.2 |
7.0.3 |
mitmproxyUbuntu:16.04:LTS |
All versions, plus listed versions 0.11.3-30.12.1-20.13-10.15-1 |
None known |
mitmproxyUbuntu:18.04:LTS |
All versions, plus listed versions 2.0.2-22.0.2-3 |
None known |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mitmproxyUbuntu:20.04:LTS |
All versions, plus listed versions 4.0.4-64.0.4-6.1 |
None known |
mitmproxyUbuntu:22.04:LTS |
All versions, plus listed versions 6.0.2-1 |
None known |
mitmproxyUbuntu:24.04:LTS |
All versions, plus listed versions 8.1.1-2 |
None known |
mitmproxyUbuntu:25.10 |
All versions, plus listed versions 8.1.1-28.1.1-3 |
None known |
mitmproxyUbuntu:26.10 |
All versions, plus listed versions 8.1.1-4 |
None known |
mitmproxyUbuntu:26.04:LTS |
All versions, plus listed versions 8.1.1-38.1.1-4 |
None known |
python-mitmproxySUSE:Package Hub 15 SP4 |
before 3.0.4-bp154.2.3.1 | 3.0.4-bp154.2.3.1 |
python-mitmproxyopenSUSE:Leap 15.4 |
before 3.0.4-bp154.2.3.1 | 3.0.4-bp154.2.3.1 |
python-mitmproxySUSE:Package Hub 15 SP5 |
before 3.0.4-bp155.3.3.1 | 3.0.4-bp155.3.3.1 |
python-mitmproxyopenSUSE:Leap 15.5 |
before 3.0.4-bp155.3.3.1 | 3.0.4-bp155.3.3.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | CyberCTF/secdevlabs-golden-hat | 2026-10-08 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-39214 is a high vulnerability (CVSS 8.1) in Mitmproxy, published September 16, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.05%, the 64th percentile. Fixed in mitmproxy 7.0.3.
References
github.com/mitmproxy/mitmproxy/security/advisories/GHSA-22gh-3r9q-xf38
nvd.nist.gov/vuln/detail/CVE-2021-39214
github.com/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2021-328.yaml
github.com/advisories/GHSA-22gh-3r9q-xf38
security.alpinelinux.org/vuln/CVE-2021-39214
security-tracker.debian.org/tracker/CVE-2021-39214
Show 7 moreShow less
github.com/mitmproxy/mitmproxy
ubuntu.com/security/CVE-2021-39214
cve.org/CVERecord?id=CVE-2021-39214
lists.opensuse.org/archives/list/[email protected]/thread/ZWVU67ZHXKSRHY3G2VWT27RUWDQHMIG6
bugzilla.suse.com/1190603
suse.com/security/cve/CVE-2021-39214
lists.opensuse.org/archives/list/[email protected]/thread/ZHDPB364QC7VFC7NPS2RHUKOKVUELUD7