CVE-2026-128125: AIOHTTP: Unbounded cookie storage in client CookieJar
Published 2026-11-13 · Updated 2026-11-20 · Also known as GHSA-5pv8-vvhc-h7jv, PYSEC-2026-4392
Summary
The aiohttp library fails to impose limits on cookie storage, allowing a malicious server to cause resource exhaustion via unbounded cookie growth. Engineering teams using aiohttp should upgrade to version 3.14.4 or later to implement proper cookie storage constraints.
Who is affected
Affected deployments include any client-side application using aiohttp to manage session cookies from external servers. A malicious server can exploit this by sending excessive cookies that the client stores indefinitely, leading to high CPU and memory consumption. This issue persists across redirects and impacts subsequent requests to the same domain due to oversized cookie headers.
Exploitability
The vulnerability is reachable via network access with no privileges required and low attack complexity, posing a moderate risk. While the current EPSS score is 0.005, indicating low observed threat activity, the lack of CISA KEV listing suggests it is not currently under active exploitation by known threat actors.
Remediation
- Upgrade the aiohttp package to version 3.14.4 or later.
- Verify the installation of the patched version using package manager tools.
How to check your project
- Check requirements.txt, pyproject.toml, or lock files for aiohttp versions below 3.14.4.
- Run 'pip show aiohttp' in the production or development environment to verify the currently installed version.
Automated analysis of the published advisory data, generated 2026-11-20. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | aiohttp |
>= 0, < 3.14.4 | 3.14.4 | python -m pip install 'aiohttp>=3.14.4' |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | Low |
FAQ
Does this vulnerability affect server-side aiohttp applications?
The flaw specifically concerns the client CookieJar implementation; however, if your service acts as a proxy or client to other external servers, you remain vulnerable.
Is this vulnerability actively being exploited?
There is no evidence of active exploitation in the wild, as the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) database.
What is the primary technical consequence of this bug?
The primary consequence is a denial-of-service condition caused by excessive CPU and memory usage from unbounded cookie storage and the generation of oversized HTTP headers.
Original advisory description
References
- WEB https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-128125
- WEB https://github.com/aio-libs/aiohttp/pull/13930
- WEB https://github.com/aio-libs/aiohttp/pull/13942
- WEB https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa
- WEB https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412
- PACKAGE https://github.com/aio-libs/aiohttp
- WEB https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
Source records: GHSA-5pv8-vvhc-h7jv, PYSEC-2026-4392 (OSV.dev) · EPSS by FIRST, 2026-11-26.