Shellfeed logo Shellfeed

CVE-2026-124249 · UNKNOWN

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

EPSS: 0.3% probability of exploitation in the next 30 days (percentile 19.8).

Details

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.

Severity

UNKNOWN — vector 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

Affected packages

  • GIT github.com/python/cpython [0 – 4e9d037f1cfc8e29efcb1f67bc668e06ff2b6643]

References

Posts about CVE-2026-124249