What’s Vulnerable › Vulnerabilities

CVE-2026-0672: Header injection in http.cookies.Morsel

Description

When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters.

Affected products

How to fix

Upgrade to a fixed version: Python 3.10.20, 3.11.15, 3.12.13, 3.13.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-0672 or the next vulnerability affects your stack