What’s Vulnerable › Vulnerabilities
CVE-2026-47265: AIOHTTP vulnerable to cross-origin redirect with per-request cookies
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-02 · updated 2026-07-21
- Weakness: CWE-346
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.
Affected products
- aio-libs aiohttp: before 3.14.0 — fixed in 3.14.0
- Pypi Aiohttp: before 3.14.0; 0.1, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.12.0 (+300) — fixed in 3.14.0
How to fix
Upgrade to a fixed version: aio-libs aiohttp 3.14.0; Pypi Aiohttp 3.14.0. Check the vendor advisory for mitigations.
References
- https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hg6j-4rv6-33pg
Get alerted when CVE-2026-47265 or the next vulnerability affects your stack