{"id":"CVE-2026-124249","aliases":["CVE-2026-124249","BIT-LIBPYTHON-2026-124249","BIT-PYTHON-2026-124249","BIT-PYTHON-MIN-2026-124249"],"related":[],"kind":"vulnerability","state":"published","title":"`http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation","summary":"http.cookiejar.CookieJar deleted a stored cookie when a response carried an\nalready expired Set-Cookie header for it, using the Domain and Path\nattributes from the header without consulting the cookie policy. A server\ncould therefore delete cookies belonging to other domains from a shared\ncookie jar, such as the one used by urllib's HTTPCookieProcessor. The fix\nconsults the cookie policy before an expired cookie may delete an existing\none, as required by RFC 6265 section 5.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"http.cookiejar.CookieJar deleted a stored cookie when a response carried an\nalready expired Set-Cookie header for it, using the Domain and Path\nattributes from the header without consulting the cookie policy. A server\ncould therefore delete cookies belonging to other domains from a shared\ncookie jar, such as the one used by urllib's HTTPCookieProcessor. The fix\nconsults the cookie policy before an expired cookie may delete an existing\none, as required by RFC 6265 section 5.3.","source":"cvelist"}],"published":"2026-11-09T14:20:47.891Z","modified":"2026-11-27T06:56:29.277Z","severity":{"scorer":"PSF","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"PSF","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-346"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.16.0a2","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/pull/161570","tags":["patch","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/161569","tags":["issue-tracking","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/Y6IKNZ2VZUS2L6CLQICSFUEMCLT7OLTY/","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/4e9d037f1cfc8e29efcb1f67bc668e06ff2b6643","tags":["patch","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/8eb3d2c1c41ca7ce628554413981c1eb763a1494","tags":["patch","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/ac1d49f4fbb33941475c5aa3cb663ab39d64cb73","tags":["patch","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/09/24","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124249","tags":["web"],"sources":["bitnami"]}],"credits":["Grant Abejar (https://github.com/vinzabe)","Kirill Podoprigora (https://github.com/Eclips4)","Victor Stinner (https://github.com/vstinner)"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-12T16:23:30.385Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-124249","url":"https://www.cve.org/CVERecord?id=CVE-2026-124249","licence":"CVE Terms of Use","modified":"2026-11-12T16:23:47.134Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-124249","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124249","licence":"Public domain","modified":"2026-11-12T17:17:30.290Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2026-124249","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-124249","licence":"Apache-2.0","modified":"2026-11-27T06:45:30.312Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2026-124249","url":"https://osv.dev/vulnerability/BIT-PYTHON-2026-124249","licence":"Apache-2.0","modified":"2026-11-27T06:45:46.446Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2026-124249","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-124249","licence":"Apache-2.0","modified":"2026-11-27T06:56:29.277Z"}],"updatedAt":"2026-11-27T07:07:43.155Z","epss":{"score":0.00272,"percentile":0.20927,"date":"2026-12-01T12:00:22.000Z"}}