Advisory

GHSA-hg6j-4rv6-33pg

Also known as: CVE-2026-47265, PYSEC-2026-2105

Summary

AIOHTTP is vulnerable to cross-origin redirect with per-request cookies

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-03 21:34 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.14.0 (ecosystem)

Fixed versions

3.14.0

Fix

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

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