CVE-2026-124249: Libpython · `http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation
Affects libpythonSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 27 Nov 2026, 08:28 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 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamilibpythonpkg:bitnami/libpythonOther threats | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official fix that ensures the cookie policy is consulted before deleting expired cookies, as required by RFC 6265 section 5.3.
Description
A vulnerability in libpython's http.cookiejar module allows a server to delete cookies from other domains in a shared cookie jar by sending an expired Set-Cookie header. This occurs because the module deletes stored cookies based on the Domain and Path attributes from the header without consulting the cookie policy. The issue is fixed by ensuring the cookie policy is consulted before deleting expired cookies, aligning with RFC 6265 section 5.3.
References
- openwall.com/lists/oss-security/2026/11/09/24 (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)
- nvd.nist.gov/vuln/detail/CVE-2026-124249 (opens in a new tab)