6.3Orta

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

Python Software Foundation CPython Yayım: (21 saat önce)

Açıklama

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.

Zayıflık türü (CWE): CWE-346

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
Python Software Foundation CPython < 3.16.0

Kaynaklar ve yamalar