HighGHSA-hc5x-x2vx-497gCVE-2024-6827PYSEC-2026-1433

Gunicorn HTTP Request/Response Smuggling vulnerability

Published 20 Mar 2025 · Updated 10 Sept 2026

Is your project on an affected gunicorn?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<22.0.0
Fixed in
22.0.0
Update to the fixed version for your release line, for example:pip install 'gunicorn>=22.0.0'

Details

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.

Is GHSA-hc5x-x2vx-497g in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected gunicorn, and gives you the command that fixes it.

More advisories for gunicorn

  • HighCVE-2024-1135Request smuggling leading to endpoint restriction bypass in Gunicorn · 16 Apr 2024
  • HighCVE-2018-1000164Gunicorn contains Improper Neutralization of CRLF sequences in HTTP headers · 12 Jul 2018
gunicorn security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.