Skip to content
6.0 Medium

CVE-2026-0672 When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into…

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 and versions

Product Affected versions Fixed in
CPython 3.15 3.15.0a1 → < 3.15.0a6 3.15.0a6
CPython 3.14 3.14.0 → < 3.14.3 3.14.3
CPython 3.13 3.13.0 → < 3.13.12 3.13.12
CPython 3.12 3.12.0 → < 3.12.13 3.12.13
CPython 3.11 3.11.0 → < 3.11.15 3.11.15
CPython 3.10 earliest → < 3.10.20 3.10.20

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE