AIOHTTP: Unbounded cookie storage in client CookieJar
Published 16 Nov 2026 · Updated 16 Nov 2026
Is your project on an affected aiohttp?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <3.14.4
- Fixed in
- 3.14.4
pip install 'aiohttp>=3.14.4'Details
Summary
Set-Cookie parsing created additional cookies from unrecognised name=value attributes, and CookieJar had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large Cookie headers.
Impact
A malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large Cookie header.
---
Patch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa
Is GHSA-5pv8-vvhc-h7jv in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected aiohttp, and gives you the command that fixes it.
More advisories for aiohttp
- HighCVE-2026-128124AIOHTTP: Event loop stall in add_domain() wildcard matching · 16 Nov 2026
- HighCVE-2026-128126AIOHTTP: Too many URL-encoded form fields block the event loop · 16 Nov 2026
- HighCVE-2026-128127AIOHTTP: Base64 multipart parts bypass client_max_size · 16 Nov 2026
- HighCVE-2026-128128AIOHTTP: WebSocket max_msg_size bypass via integer overflow · 16 Nov 2026
- HighCVE-2026-128129AIOHTTP: Unbounded buffering of data received during an upgrade request · 16 Nov 2026
- HighCVE-2026-128130AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade · 16 Nov 2026
References
- Linkgithub.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-128125
- Linkgithub.com/aio-libs/aiohttp/pull/13930
- Linkgithub.com/aio-libs/aiohttp/pull/13942
- Linkgithub.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa
- Linkgithub.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412
- Packagegithub.com/aio-libs/aiohttp
- Linkgithub.com/aio-libs/aiohttp/releases/tag/v3.14.4
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.