CVE-2026-124249 json
`http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation
published 2d ago modified yesterday also EUVD-2026-120068
- cvss
- 6.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Python Software Foundation CPython 3.16.0a2
- github.com/python/cpython@4e9d037 commit
- github.com/python/cpython@8eb3d2c commit
- github.com/python/cpython@ac1d49f commit
- github.com/python/cpython#161570 pull request
Is CVE-2026-124249 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- Python Software Foundation CPython
Classification
- Weakness
-
- CWE-346 Origin Validation Error
References
-
github.com
/python/cpython/pull/161570
patch
-
github.com
/python/cpython/commit/4e9d037f1cfc8e29efcb1f67bc668e06ff2b6643
patch
-
github.com
/python/cpython/commit/8eb3d2c1c41ca7ce628554413981c1eb763a1494
patch
-
github.com
/python/cpython/commit/ac1d49f4fbb33941475c5aa3cb663ab39d64cb73
patch
-
mail.python.org
/archives/list/security-announce@python.org/thread/Y6IKNZ2VZUS2L6CLQICSFUEMCLT7OLTY/
vendor-advisory
-
github.com
/python/cpython/issues/161569
issue-tracking
- openwall.com /lists/oss-security/2026/11/09/24
Sources
- CVE List CVE-2026-124249
- NVD CVE-2026-124249
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.