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.
If unable to upgrade, using a Cookie header in the headers parameter is not vulnerable.
Patch: https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478
{
"github_reviewed_at": "2026-06-03T21:34:38Z",
"severity": "MODERATE",
"cwe_ids": [
"CWE-346"
],
"github_reviewed": true,
"nvd_published_at": "2026-06-02T20:16:37Z"
}