Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessClient contacts untrusted subdomain
-
ExploitSubdomain sends same-name cookie with explicit Domain
-
ExecutionHost-only marker discarded for parent cookie
-
ImpactCookie exposed across subdomains
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V3 - Web Frontend Security Cookie integrity validation
|
| Exploitation Conditions | Requires an application to use aiohttp's client CookieJar (shared across a parent domain and its subdomains) that already holds a host-only cookie, AND the client to be induced into issuing a request to an attacker-controlled untrusted subdomain of that parent domain, which returns a same-named cookie bearing an explicit Domain attribute. Exploitation is strongly limited by: the need for passive user/client interaction to contact the malicious subdomain (UI:P), the requirement that a cross-trust-boundary shared cookie jar be in use, affected versions being strictly prior to 3.14.4, and - per the vendor - meaningful impact only materializing when the application reflects the affected cookies back to a browser. |
| Impact | This is a low-severity, low-priority issue despite being network-exploitable without authentication. The vendor (GitHub Security Advisory GHSA-gx76-c99x-2c96) CVSS 4.0 score is only 2.3, and every signal agrees it is minor: attack vector is network (AV:N) and complexity is low (AC:L), but an attack requirement is present (AT:P), passive user interaction is needed (UI:P), and both confidentiality and integrity impact are only Low (VC:L/VI:L) with no availability impact. There is no EPSS score in the provided data, no CISA KEV listing (not actively exploited), and no public exploit identified. The flaw is in aiohttp's client-side CookieJar, not a server-facing endpoint, so exploitation depends on an application using a shared cookie jar across a trust boundary and the vendor explicitly notes impact is limited unless the application reflects the affected cookies back to a browser. No signals conflict here - all point to a defense-in-depth cookie-isolation weakness rather than a priority vulnerability. Note: no EPSS value was supplied, so widespread-exploitation probability could not be quantitatively weighed. |
| Exploit ScenarioDerived | An application uses an aiohttp client with a shared CookieJar that holds a host-only cookie for a parent domain (e.g. auth.example.com). The client is induced to make a request to an attacker-controlled subdomain, which returns a same-named cookie carrying an explicit Domain attribute; this strips the host-only marker so the cookie is subsequently sent to subdomains. No public exploit code is identified, and real-world harm requires the application to then reflect that cookie back to a browser. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Cookie host-only protection can be silently stripped from aiohttp's client CookieJar when a client that shares one jar across a parent domain and its subdomains is lured into requesting an attacker-controlled subdomain that returns a same-named cookie carrying an explicit Domain attribute. Only aiohttp releases prior to 3.14.4 are affected, and per the vendor the practical impact is narrow: an attacker gains little unless the application reflects the affected cookies back into a browser context. The issue is low severity (CVSS 2.3, independently assessed as CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N), is not listed in CISA KEV, and no public exploit code was identified at time of analysis; the vendor-released patch is version 3.14.4.
RemediationAI
Upgrade aiohttp to version 3.14.4 or later; this is the vendor-released patch and the only complete fix, published at https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4 with details in GHSA-gx76-c99x-2c96. Note the accompanying API change before upgrading: CookieJar.host_only_cookies now returns (domain, path, name) triples instead of (domain, name) pairs, so any application code or test harness unpacking two-element tuples must be updated. If an immediate upgrade is not possible, the effective compensating control is architectural: stop sharing a single CookieJar across a parent domain and its untrusted subdomains by instantiating a separate CookieJar per origin or per trust boundary (side effect: duplicate cookie storage and no cross-subdomain session reuse, which is precisely the property being abused); alternatively, restrict which origins the client is allowed to contact so untrusted subdomains cannot be reached through the shared jar, accepting that this trades away legitimate subdomain functionality. Applications should also avoid reflecting CookieJar contents back into an end-user browser, since the vendor notes impact is limited when cookies are not reflected; doing so removes the primary path from this cookie-state manipulation to a user-visible consequence.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-565 (Reliance on Cookies without Validation and Integrity Checking), specifically a mismatch between how aiohttp tracked the RFC 6265 host-only flag and how it identified cookies. aiohttp's CookieJar kept a private set, _host_only_cookies, used by filter_cookies() to suppress host-only cookies from being sent to subdomains; before the fix that set was keyed only on (domain, name) tuples, while real cookie identity in a jar is the triple (domain, path, name). Because the key omitted the path, a subordinate/attacker-reachable host could send a cookie bearing an explicit Domain attribute for the parent domain together with a different Path and Max-Age=0, and the resulting expiration handling in _do_expiration() called _host_only_cookies.discard((domain, name)), clearing the host-only marker on the legitimate parent-domain cookie of the same name. The upstream commit 6a07c171ef9f3be583e2907dcd1931372efca8d6 fixes this by widening the tracked identity to (domain, path, name), discarding the marker only when an explicit-Domain cookie actually replaces a cookie of the same (domain, path, name), and reordering the domain-match validation in update_cookies(). The fix also changed the public host_only_cookies() property from a frozenset of (domain, name) pairs to a frozenset of (domain, path, name) triples, a documented API change in 3.14.4 that will break any consumer unpacking two-element tuples. The vulnerable behavior depends entirely on applications reusing a single client CookieJar across trust boundaries (parent domain plus untrusted subdomains) and, for meaningful impact, on relaying jar contents into a browser.
Know when Aiohttp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable client flaw needing a specific shared-cookie-jar setup and a client request to an attacker subdomain, so AC:H and UI:R; no auth so PR:N; only low confidentiality/integrity impact on cookie scope.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Host-Only scope on an existing parent-domain cookie can be removed by a subdomain. A user who accesses an untrusted subdomain can consequently have host-only protections stripped from cookies, although impact is limited when applications do not reflect those cookies to a browser. This issue is fixed in version 3.14.4.
Blast Radius
ecosystem impact- 35 pypi packages depend on aiohttp (23 direct, 12 indirect)
Ecosystem-wide dependent count for version 3.14.4.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul
Out-of-bounds heap read in aiohttp's C HTTP response parser (versions ≤ 3.14.2) allows an attacker-controlled server to
Uncontrolled decompression in aiohttp's WebSocket client prior to version 3.14.2 allows a malicious server to exhaust CP
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 6.5), this v
HTTP request smuggling in aiohttp's server-side parser allows unauthenticated remote attackers to inject and misdirect H
AIOHTTP 3.8.1 can report a "ValueError: Invalid IPv6 URL" outcome, which can lead to a Denial of Service (DoS). Rated me
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v
A remote attacker can exhaust server memory or stall the event loop through aiohttp's multipart parser in versions up to
Quadratic CPU consumption in aiohttp before 3.14.4 lets a remote attacker stall a server's asyncio event loop by sending
In aiohttp releases prior to 3.14.4, any unauthenticated POST that reaches a handler calling Request.post() can stall th
EUVD-2026-104485
GHSA-gx76-c99x-2c96
NVD
CVE.org
EPSS
VulDB
Exploit-DB