Vulnerability
CVE-2026-124249
http.cookiejar.CookieJar deleted a stored cookie when a response carried an already expired Set-Cookie header for it, using the Domain and Path attributes from the header without consulting the cookie policy. A server could therefore delete cookies belonging to other domains from a shared cookie jar, such as the one used by urllib's HTTPCookieProcessor. The fix consults the cookie policy before an expired cookie may delete an existing one, as required by RFC 6265 section 5.3.
29 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
AZL-112910
CVE-2026-124249 affecting package python-py 1.11.0-1
-
AZL-112916
CVE-2026-124249 affecting package python3 3.12.16-2
-
AZL-113350
CVE-2026-124249 affecting package docbook5-style-xsl 1.79.2-11
-
AZL-113636
CVE-2026-124249 affecting package tensorflow 2.16.1-11
- CGA-324w-mm2q-94mc
- CGA-4h49-f2xv-fj25
- CGA-5mrj-3pqq-qc9m
- CGA-5xv8-4crc-8232
- CGA-6gxp-ww84-w3cr
- CGA-9749-2274-vpwj
- CGA-c56m-6w6j-qqqp
- CGA-g725-g5wm-5mmx
- CGA-hw32-53p5-9hhj
- CGA-vqvm-2rrp-p62f
- CGA-w39r-hcjc-46p4
- CGA-x2x6-cvpj-rr3r
-
CNA-CVE-2026-124249
`http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation
-
DEBIAN-CVE-2026-124249
http.cookiejar.CookieJar deleted a stored cookie when a response carried an already expired Set-Cookie header for it, using the Domain and Path attributes from the header without consulting the cookie policy. A server…
-
OESA-2026-4996
python3 security update
-
OESA-2026-4997
python3 security update
-
OESA-2026-4998
python3 security update
-
RHSA-2026:97928
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:98017
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:99029
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:99776
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:99777
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHVEX-CVE-2026-124249
python: Python: Unauthorized cross-domain cookie deletion via expired Set-Cookie headers
-
SUSEVEX-CVE-2026-124249
http.cookiejar.CookieJar deleted a stored cookie when a response carried an already expired Set-Cookie header for it, using the Domain and Path attributes from the header without consulting the cookie policy. A server…
-
UBUNTU-CVE-2026-124249
http.cookiejar.CookieJar deleted a stored cookie when a response carried an already expired Set-Cookie header for it, using the Domain and Path attributes from the header without consulting the cookie policy. A server…
References
- https://github.com/python/cpython/commit/4e9d037f1cfc8e29efcb1f67bc668e06ff2b6643
- https://github.com/python/cpython/commit/8eb3d2c1c41ca7ce628554413981c1eb763a1494
- https://github.com/python/cpython/commit/ac1d49f4fbb33941475c5aa3cb663ab39d64cb73
- https://github.com/python/cpython/issues/161569
- https://github.com/python/cpython/pull/161570
- https://mail.python.org/archives/list/[email protected]/thread/Y6IKNZ2VZUS2L6CLQICSFUEMCLT7OLTY/
- http://www.openwall.com/lists/oss-security/2026/11/09/24