CVE-2026-124249
Public on 2026-11-09
Modified on 2026-11-17
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.
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
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Core | python | Pending Fix | ||
| Amazon Linux 2 - Core | python3 | Pending Fix | ||
| Amazon Linux 2023 | python3.11 | Pending Fix | ||
| Amazon Linux 2023 | python3.12 | Pending Fix | ||
| Amazon Linux 2023 | python3.13 | Pending Fix | ||
| Amazon Linux 2023 | python3.14 | Pending Fix | ||
| Amazon Linux 2027 Preview | python3.14 | Pending Fix | ||
| Amazon Linux 2023 | python3.15 | Pending Fix | ||
| Amazon Linux 2027 Preview | python3.15 | Pending Fix | ||
| Amazon Linux 2023 | python3.9 | Pending Fix |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |