GHSA-hg6j-4rv6-33pg
AIOHTTP is vulnerable to cross-origin redirect with per-request cookies
At a glance
- Published
- Updated
- CVE
- CVE-2026-47265
- Aliases
- PYSEC-2026-2105
- CVSS_V4
- 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
Description
### Summary Cookies set with the `cookies` parameter on requests are sent after following a cross-origin redirect. ### Impact 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. ### Workaround If unable to upgrade, using a `Cookie` header in the `headers` parameter is not vulnerable. ----- Patch: https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478
Affected packages
| Package | Versions |
|---|---|
| PyPI · aiohttp | introduced 0, fixed 3.14.0 |
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hg6j-4rv6-33pg WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47265 ADVISORY
- https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478 WEB
- https://github.com/aio-libs/aiohttp PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |