Live threats

All CVEs / benoitc

CVE-2024-6827benoitc/gunicorn

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Mar 20, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-444
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for benoitc/gunicorn.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gunicorn < 22.0.0 22.0.0 pip install "gunicorn>=22.0.0"
PyPI gunicorn < 22.0.0 22.0.0 pip install "gunicorn>=22.0.0"

Per OSV / GitHub Advisories (GHSA-hc5x-x2vx-497g, PYSEC-2026-1433). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.