Python2.7: http.cookiejar.CookieJar deleted a stored cookie when a response carried an already expired Set-Cookie
Affects python2.7Source GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 13 Nov 2026, 22:04 UTC
Thin evidence
One scorer or none| CNA (PSF) | CVSS 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:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python3.14pkg:deb/ubuntu/python3.14?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython3.14pkg:deb/ubuntu/python3.14?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython3.12pkg:deb/ubuntu/python3.12?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython3.10pkg:deb/ubuntu/python3.10?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpython3.11pkg:deb/ubuntu/python3.11?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-124249 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-124249 (opens in a new tab)
- github.com/python/cpython/commit/4e9d037f1cfc8e29efcb1f67bc668e06ff2b6643 (opens in a new tab)
- github.com/python/cpython/commit/8eb3d2c1c41ca7ce628554413981c1eb763a1494 (opens in a new tab)
- github.com/python/cpython/commit/ac1d49f4fbb33941475c5aa3cb663ab39d64cb73 (opens in a new tab)
- github.com/python/cpython/issues/161569 (opens in a new tab)
- github.com/python/cpython/pull/161570 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/Y6IKNZ2VZUS2L6CLQICSFUEMCLT7OLTY/ (opens in a new tab)
- openwall.com/lists/oss-security/2026/11/09/24 (opens in a new tab)