Unbounded cookie storage in AIOHTTP client CookieJar
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
AIOHTTP, an asynchronous HTTP client and server framework for asyncio and Python, is affected before 3.14.4. The Set-Cookie parser treats unrecognized name=value attributes as extra cookies, and CookieJar does not limit how many cookies it stores or sends, which is a case of improperly controlled sequential memory allocation (CWE-1325). A malicious server can make an aiohttp client accumulate a very large cookie set across redirects, consuming memory and CPU repeatedly and building an excessively large Cookie header for later requests to the same domain.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Set-Cookie parsing treats unrecognized name=value attributes as additional cookies, while CookieJar does not limit the number of cookies stored or sent. A malicious server can make an aiohttp client accumulate a very large cookie set, consume memory and CPU repeatedly across redirects, and construct an excessively large Cookie header for later requests to the same domain. This issue is fixed in version 3.14.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| aio-libs | aiohttp | before 3.14.4 | 3.14.4 | Patch available | CNA |
| — | aiohttp (PyPI) | before 3.14.4 | 3.14.4 | Patch available | GHSA-5pv8-vvhc-h7jv |
- aiohttp Vendoraio-libs Affected before 3.14.4 Fixed in 3.14.4 Patch available CNA
- aiohttp (PyPI) Vendor— Affected before 3.14.4 Fixed in 3.14.4 Patch available GHSA-5pv8-vvhc-h7jv
Remediation
Upgrade aiohttp from before 3.14.4 to version 3.14.4, which fixes the issue on both the aio-libs and PyPI sources.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA aiohttp (aio-libs) Fixed in 3.14.4
- Fix · GHSA-5pv8-vvhc-h7jv aiohttp (PyPI) Fixed in 3.14.4 Advisory →
Timeline
- 2026-11-13 Threatist record created from CVE-2026-128125
- 2026-11-13 CISA SSVC decision points changed
- 2026-11-16 Alias added: GHSA-5pv8-vvhc-h7jv
- 2026-11-16 Fix available: PyPI/[email protected] · GHSA-5pv8-vvhc-h7jv
- 2026-11-16 CVSS score added · GHSA-5pv8-vvhc-h7jv
- 2026-11-16 Weakness changed · GHSA-5pv8-vvhc-h7jv
- 2026-11-16 8 new references · GHSA-5pv8-vvhc-h7jv
References
Other 7
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv
- https://github.com/aio-libs/aiohttp/pull/13930
- https://github.com/aio-libs/aiohttp/pull/13942
- https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa
- https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- https://github.com/aio-libs/aiohttp
More aio-libs vulnerabilities
- TI-2025-38826 aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server CVSS 4.0HIGH 8.2
- TI-2024-15436 aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal CVSS 3.1HIGH 7.5
- TI-2023-25769 Request smuggling in aiohttp CVSS 3.1HIGH 7.5
- TI-2023-18906 aiohttp vulnerable to HTTP request smuggling CVSS 3.1HIGH 7.5
- TI-2023-26746 aiohttp's ClientSession is vulnerable to CRLF injection via version CVSS 3.1HIGH 7.2
- TI-2026-66145 Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-128125 · CVE Program
- CVE-2026-128125 · NVD
- FIRST EPSS
- GHSA-5pv8-vvhc-h7jv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences