aio-libs/aiohttp · Security
AIOHTTP leaks Cookie and Proxy-Authorization headers on cross-origin redirect
- GHSA ID
- GHSA-966j-vmvw-g2g9
- CVE ID
- CVE-2026-34518
- Severity
- low
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v4
- 2.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Description
Summary
When following redirects to a different origin, aiohttp drops the Authorization header, but retains the Cookie and Proxy-Authorization headers.
Impact
The Cookie and Proxy-Authorizations headers could contain sensitive information which may be leaked to an unintended party after following a redirect.
Patch: https://github.com/aio-libs/aiohttp/commit/5351c980dcec7ad385730efdf4e1f4338b24fdb6
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-966j-vmvw-g2g9 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-34518 ↗
- https://github.com/aio-libs/aiohttp/commit/5351c980dcec7ad385730efdf4e1f4338b24fdb6 ↗
- https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4 ↗
- https://github.com/advisories/GHSA-966j-vmvw-g2g9 ↗