CVE-2026-124249Python CPython origin validation error
CVSS score
6.3
Medium
CVSS 4.0 from python.org
Exploit probability (EPSS)
0.27%
0.27% chance of exploitation in the next 30 days, higher than 19.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: cna@python.org
How to fix it, step by step
Check whether you're affected
Find every system running Python CPython and compare its version with the affected versions.
Update to a fixed version
- Update CPython to 3.16.0a2 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
| Affected products | Versions |
|---|---|
| Python CPython | < 3.16.0a2 |
Weakness
- CWE-346 origin validation error
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-124249 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-124249?
CVE-2026-124249 has a CVSS 4.0 base score of 6.3 (medium).
Which versions are affected?
Python CPython (< 3.16.0a2)
Is there a patch for CVE-2026-124249?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/python/cpython/commit/4e9d037f1cfc8e29efcb1f67bc668e06ff2b6643
- github.com/python/cpython/commit/8eb3d2c1c41ca7ce628554413981c1eb763a1494
- github.com/python/cpython/commit/ac1d49f4fbb33941475c5aa3cb663ab39d64cb73
- github.com/python/cpython/issues/161569
- github.com/python/cpython/pull/161570
- mail.python.org/archives/list/security-announce@python.org/thread/Y6IKNZ2VZUS2L6CLQICSFUEMCLT7OLTY/
- www.openwall.com/lists/oss-security/2026/11/09/24
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.