CVE-2026-54279: aiohttp · Host-Only Cookies Become Domain Cookies After CookieJar Persistence
Affects bagelsSource GCVE Database
Not known to be exploited · CVSS 1.3 Low : upgrade to 0.3.12_12 when convenient.
Data as of 4 Nov 2026, 20:36 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.3.12_12
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:UExploitation evidence
Disclosed: evidence found.
CVE published 22 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
Upgrade bagels to 0.3.12_12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewbagelspkg:brew/bagelsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in aiohttp version 0.3.12_12 that fixes the loss of host-only status when cookies are persisted and restored. Users should upgrade to version 0.3.12_12 or later to remediate this vulnerability.
Description
A vulnerability in aiohttp's CookieJar persistence causes host-only cookies saved and later restored to lose their host-only status. This results in cookies being sent to subdomains that should not receive them, potentially exposing sensitive cookie data. The issue affects versions from 0.3.6 up to but not including 0.3.12_12. A patch is available in version 0.3.12_12 to address this behavior.
References
- github.com/aio-libs/aiohttp/security/advisories/GHSA-2fqr-mr3j-6wp8 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-54279 (opens in a new tab)
- github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2 (opens in a new tab)
- github.com/aio-libs/aiohttp (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2026-2112.yaml (opens in a new tab)