Every CVE Search/ Get API key

CVE-2021-39214

Lacking Protection against HTTP Request Smuggling in mitmproxy

8.1 HighPublic exploitFix available

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

1.05%Up 0.6 points since Sep 17, 2021
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 CriticalCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS: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

Affected packages
PackageAffectedFixed
mitmproxy
PyPI
before 7.0.3
7.0.3
mitmproxy
Alpine:v3.21
before 7.0.3-r0
7.0.3-r0
mitmproxy
Alpine:v3.22
before 7.0.3-r0
7.0.3-r0
mitmproxy
Alpine:v3.23
before 7.0.3-r0
7.0.3-r0
mitmproxy
Alpine:v3.24
before 7.0.3-r0
7.0.3-r0
mitmproxy
Debian:12
before 8.1.1-1
8.1.1-1
mitmproxy
Debian: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 less
0.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
mitmproxy
PyPI
before 7.0.3, plus listed versions
0.100.10.10.110.11.10.11.2
Show 43 moreShow less
0.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
mitmproxy
Ubuntu:16.04:LTS
All versions, plus listed versions
0.11.3-30.12.1-20.13-10.15-1
None known
mitmproxy
Ubuntu:18.04:LTS
All versions, plus listed versions
2.0.2-22.0.2-3
None known
Show 10 moreShow less
Affected packages
PackageAffectedFixed
mitmproxy
Ubuntu:20.04:LTS
All versions, plus listed versions
4.0.4-64.0.4-6.1
None known
mitmproxy
Ubuntu:22.04:LTS
All versions, plus listed versions
6.0.2-1
None known
mitmproxy
Ubuntu:24.04:LTS
All versions, plus listed versions
8.1.1-2
None known
mitmproxy
Ubuntu:25.10
All versions, plus listed versions
8.1.1-28.1.1-3
None known
mitmproxy
Ubuntu:26.10
All versions, plus listed versions
8.1.1-4
None known
mitmproxy
Ubuntu:26.04:LTS
All versions, plus listed versions
8.1.1-38.1.1-4
None known
python-mitmproxy
SUSE:Package Hub 15 SP4
before 3.0.4-bp154.2.3.1
3.0.4-bp154.2.3.1
python-mitmproxy
openSUSE:Leap 15.4
before 3.0.4-bp154.2.3.1
3.0.4-bp154.2.3.1
python-mitmproxy
SUSE:Package Hub 15 SP5
before 3.0.4-bp155.3.3.1
3.0.4-bp155.3.3.1
python-mitmproxy
openSUSE: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.

Public exploits
SourceLinkDate
PoC in GitHubCyberCTF/secdevlabs-golden-hat2026-10-08

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE 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

Show 7 moreShow less
MoveEnter Open