Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111063 Overview
CVE-2026-111063 affects AIOHTTP, an asynchronous HTTP client/server framework for asyncio and Python. Versions prior to 3.14.4 fail to enforce the Secure attribute on shared cookies stored in the client cookie jar. An attacker who can influence an application's outbound request destination may cause a shared cookie marked Secure to be transmitted over an unencrypted HTTP connection. This exposes the cookie value to passive network observers and active man-in-the-middle attackers. The weakness is categorized as [CWE-311] (Missing Encryption of Sensitive Data). The maintainers released a fix in AIOHTTP version 3.14.4.
Critical Impact
Shared cookies flagged as Secure can leak over cleartext HTTP, enabling credential or session token interception on untrusted networks.
Affected Products
- AIOHTTP versions prior to 3.14.4
- Python applications using AIOHTTP as an HTTP client with shared cookie jars
- Downstream libraries and services that depend on AIOHTTP's CookieJar for session management
Discovery Timeline
- 2026-10-19 - CVE-2026-111063 published to the National Vulnerability Database
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-111063
Vulnerability Analysis
AIOHTTP's CookieJar stores cookies in two groups: domain-scoped cookies and shared cookies keyed by an empty domain and path tuple ("", ""). Shared cookies apply to any outbound request regardless of host. When AIOHTTP constructs the Cookie header for an outgoing request, it iterates through the shared cookie set and attaches those cookies to the request. The pre-patch code did not check whether the destination request used an insecure scheme before including a cookie carrying the Secure attribute. As a result, cookies the application explicitly marked as Secure were sent on plaintext HTTP requests. This defeats the primary purpose of the Secure flag defined in RFC 6265 and enables credential disclosure.
Root Cause
The root cause is a missing conditional check in aiohttp/cookiejar.py within the shared-cookie filtering loop. The implementation enforced the Secure attribute for domain-scoped cookies but omitted the equivalent guard on the shared-cookie branch. Any shared cookie was therefore attached to every outbound request, regardless of the transport scheme.
Attack Vector
Exploitation requires that an attacker can either observe network traffic on an insecure segment or coerce the AIOHTTP client into issuing an HTTP request to an attacker-controlled or attacker-reachable endpoint. If the client has previously stored a shared cookie with the Secure attribute, the vulnerable version transmits it in cleartext. The attacker captures the cookie and replays it against the legitimate HTTPS service.
# Send shared cookie
key = ("", "")
for c in self._cookies[key].values():
+ if is_not_secure and c["secure"]:
+ continue
+
# Check cache first
if c.key in self._morsel_cache[key]:
filtered[c.key] = self._morsel_cache[key][c.key]
Source: GitHub Commit 999c356d
The patch adds an is_not_secure and c["secure"] check that skips any shared cookie marked Secure when the outgoing request is not over HTTPS.
Detection Methods for CVE-2026-111063
Indicators of Compromise
- Outbound HTTP (non-TLS) requests from Python services that include Cookie headers containing session identifiers or authentication tokens.
- AIOHTTP client processes running with an installed version lower than 3.14.4 in production environments.
- Repeated requests from an application host to unexpected hosts on port 80 immediately after legitimate HTTPS activity.
Detection Strategies
- Inventory Python dependencies using pip list or software bill of materials tooling to flag any aiohttp package below 3.14.4.
- Inspect network telemetry at egress proxies for HTTP requests originating from AIOHTTP user-agent strings and carrying Cookie headers.
- Add linting or dependency-scanning gates in CI pipelines to block merges that pin vulnerable AIOHTTP versions.
Monitoring Recommendations
- Monitor TLS downgrade or mixed-content patterns from service accounts that normally communicate over HTTPS.
- Alert on new or unexpected plaintext HTTP destinations contacted by application workloads.
- Correlate authentication anomalies against hosts running vulnerable AIOHTTP builds to identify potential cookie replay.
How to Mitigate CVE-2026-111063
Immediate Actions Required
- Upgrade AIOHTTP to version 3.14.4 or later in all client and server deployments.
- Rotate any session tokens or authentication cookies that may have transited an unencrypted connection from a vulnerable client.
- Audit application code for use of shared cookies via AIOHTTP's CookieJar and confirm all remote endpoints enforce HTTPS.
Patch Information
The fix is available in AIOHTTP 3.14.4. See the GitHub Release v3.14.4 notes and the GitHub Security Advisory GHSA-494j-54xm-rwp3 for full disclosure details and the backport commit reference.
Workarounds
- Configure AIOHTTP clients to use an HTTPS-only transport policy and reject requests to http:// URLs at the application layer.
- Avoid storing Secure cookies in the shared cookie jar; scope cookies to specific domains to preserve the pre-patch enforcement path.
- Place vulnerable services behind an egress proxy that strips Cookie headers from outbound plaintext HTTP requests until the patch can be deployed.
# Configuration example
pip install --upgrade "aiohttp>=3.14.4"
pip show aiohttp | grep -i version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

