CVE-2026-124249: Python Software Foundation Cpython

Medium severity, CVSS 6.3. EPSS: 0.3% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Python Software Foundation Cpython, before 3.16.0a2: fixed in 3.16.0a2

Affected products

Published 2026-11-09. Last modified 2026-11-12.