When following redirects to a different origin, aiohttp drops the Authorization header, but retains the Cookie and Proxy-Authorization headers.
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
{
"github_reviewed": true,
"github_reviewed_at": "2026-04-01T21:47:46Z",
"severity": "LOW",
"nvd_published_at": "2026-04-01T21:17:00Z",
"cwe_ids": [
"CWE-200"
]
}