CVE-2026-124249

published 9 Nov 2026 · updated 12 Nov 2026

`http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.16.0a2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.16.0a23.16.0a2

Coverage

News and research mentioning this CVE

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-124249 severity on Zeptric[![CVE-2026-124249](https://zeptric.io/badge/cve/CVE-2026-124249.svg)](https://zeptric.io/cve/CVE-2026-124249)