Advisory

PYSEC-2026-1433

Also known as: CVE-2024-6827, GHSA-hc5x-x2vx-497g

Summary

Gunicorn HTTP Request/Response Smuggling vulnerability

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

gunicorn

PyPI · All systems

Affected

  • introduced 0, fixed 22.0.0 (ecosystem)

Fixed versions

22.0.0

Fix

  • Fixed version 22.0.0
    pip install --upgrade gunicorn==22.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences