6.3medium
AIOHTTP: Unbounded cookie storage in client CookieJar
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5pv8-vvhc-h7jvPYSEC-2026-4392
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| aio-libs aiohttp | < 3.14.4 | CVE List |
| aiohttp (PyPI) | before 3.14.4 | GitHub Advisory Database, PyPA Advisory Database |
| aiohttp aiohttp | before 3.14.4 | NVD |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| PyPA Advisory Database | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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
References
| https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv | fix, patch, vendor-advisory, web | |
| https://github.com/aio-libs/aiohttp/pull/13930 | fix, patch, web | |
| https://github.com/aio-libs/aiohttp/pull/13942 | fix, patch, web | |
| https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa | fix, patch, web | |
| https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412 | fix, patch, web | |
| https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4 | advisory, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-128125 | advisory | |
| https://github.com/aio-libs/aiohttp | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-128125 changed 2026-11-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5pv8-vvhc-h7jv changed 2026-11-20 | CC-BY-4.0 |
| NVD | CVE-2026-128125 changed 2026-11-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-4392 changed 2026-11-20 | CC-BY-4.0 |