# CVE-2024-1135: HTTP Request Smuggling in benoitc/gunicorn

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.0, CNA) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.43% (percentile 73, 2026-11-26)
- **CWE:** CWE-444
- **Aliases:** GHSA-w3h3-4rj7-4ph4, PYSEC-2026-1434
- **Published:** 2024-04-16T00:00:14.938Z
- **Modified:** 2026-09-10T03:50:00.309Z

## Who should check

- Projects that depend on PyPI package gunicorn (\< 22.0.0)
- Anyone running benoitc/gunicorn \>= unspecified, \<= latest

## Description

Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.

## Affected and fixed versions

- PyPI `gunicorn`: affected \< 22.0.0; fixed 22.0.0 (osv)
- benoitc/gunicorn: \>= unspecified, \<= latest (cvelist)

## Mitigation

- Upgrade gunicorn to 22.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-1135. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-1135.md
Affected: gunicorn < 22.0.0
Fixed in: 22.0.0

Steps:
1. Search this machine and project for gunicorn (PyPI), benoitc/gunicorn: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-1135 being exploited?

There is no confirmed exploitation: CVE-2024-1135 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-1135?

High: CVSS 7.5 (v3.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-1135?

gunicorn \< 22.0.0.

### Is there a fix for CVE-2024-1135?

Yes. Fixed in 22.0.0. Upgrade gunicorn to 22.0.0 or later.

### How do I check if I'm affected by CVE-2024-1135?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-1135>
- vendor: <https://github.com/advisories/GHSA-w3h3-4rj7-4ph4>
- patch: <https://github.com/benoitc/gunicorn/pull/3113>
- patch: <https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d>
- other: <https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00027.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/12/msg00018.html>
- other: <https://github.com/benoitc/gunicorn/issues/3091>
- other: <https://github.com/benoitc/gunicorn>
- other: <https://github.com/benoitc/gunicorn/releases/tag/22.0.0>
- other: <https://pypi.org/project/gunicorn>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-1135>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w3h3-4rj7-4ph4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1434> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-1135> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-1135>
