Advisory

GHSA-966j-vmvw-g2g9

Also known as: CVE-2026-34518, PYSEC-2026-2100

Summary

AIOHTTP leaks Cookie and Proxy-Authorization headers on cross-origin redirect

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-04-01 21:47 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.13.4 (ecosystem)

Fixed versions

3.13.4

Fix

  • Fixed version 3.13.4
    pip install --upgrade aiohttp==3.13.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences