Description
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.14.0, cookies set with the `cookies` parameter on requests are sent after following a cross-origin redirect. If a developer uses the `cookies` parameter on a per-request basis then sensitive data might be leaked to an attacker if they manage to control a redirect. Version 3.14.0 patches the issue. If unable to upgrade, using a `Cookie` header in the `headers` parameter is not vulnerable.
Published: 2026-06-02
Score: 6.6 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

AIOHTTP versions older than 3.14.0 allow a vulnerability where cookies supplied through the per‑request "cookies" parameter are transmitted after following a cross‑origin HTTP redirect. Attackers who can influence the redirect URL can therefore receive the requester's sensitive cookie data in a new origin, leaking confidential information. This flaw is classified as CWE‑346, indicating that output redirection is improperly controlled, leading to unintended information disclosure.

Affected Systems

The issue affects the aio-libs AIOHTTP framework for Python and asyncio. All releases prior to version 3.14.0 are vulnerable. This includes both client and server components that accept per‑request cookie parameters.

Risk and Exploitability

The CVSS base score of 6.6 indicates a medium severity of confidentiality compromise. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting low observed exploitation. However, if an application relies on per‑request cookies and processes redirects, an attacker who can instruct the client to redirect to a malicious domain could steal cookies. The simplest attack vector involves instructing the AIOHTTP client to perform a redirect to an attacker‑controlled host; no local code execution is required.

Generated by OpenCVE AI on June 3, 2026 at 04:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade aio-libs AIOHTTP to version 3.14.0 or later to fix the per‑request cookie redirect issue.
  • If an upgrade cannot be performed immediately, replace the per‑request "cookies" parameter with a plain "Cookie" header in the "headers" dictionary, which is not susceptible to this redirect flaw.
  • Audit application code to ensure it does not unintentionally force redirects to untrusted external origins, and consider disabling automatic redirects if not needed.

Generated by OpenCVE AI on June 3, 2026 at 04:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 03 Jun 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Aio-libs
Aio-libs aiohttp
Vendors & Products Aio-libs
Aio-libs aiohttp

Wed, 03 Jun 2026 02:30:00 +0000

Type Values Removed Values Added
Description AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.14.0, cookies set with the `cookies` parameter on requests are sent after following a cross-origin redirect. If a developer uses the `cookies` parameter on a per-request basis then sensitive data might be leaked to an attacker if they manage to control a redirect. Version 3.14.0 patches the issue. If unable to upgrade, using a `Cookie` header in the `headers` parameter is not vulnerable.
Title AIOHTTP vulnerable to cross-origin redirect with per-request cookies
Weaknesses CWE-346
References
Metrics cvssV4_0

{'score': 6.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U'}


Subscriptions

Aio-libs Aiohttp
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-02T18:32:50.926Z

Reserved: 2026-05-18T23:03:37.229Z

Link: CVE-2026-47265

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-02T20:16:37.903

Modified: 2026-06-02T20:16:37.903

Link: CVE-2026-47265

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-03T04:15:24Z

Weaknesses