aio-libs/aiohttp · Security
aiohttp: Host-Only Cookies Become Domain Cookies After CookieJar Persistence
- GHSA ID
- GHSA-2fqr-mr3j-6wp8
- CVE ID
- CVE-2026-54279
- Severity
- low
- Published
- Updated
- CVSS v4
- 1.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:U
Description
Summary
Host-only cookies that are saved with CookieJar.save() and then restored later with CookieJar.load() lose their host-only status.
Impact
Host-only cookies that have been loaded from disk may get sent to subdomains that previously should have been disallowed.
Patch: https://github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2
CWEs
- CWE-665 · Improper Initialization