CVE-2026-128127: AIOHTTP: Base64 multipart parts bypass client_max_size
Published 2026-11-13 · Updated 2026-11-20 · Also known as GHSA-24c4-3p7v-29cm, PYSEC-2026-4394
Summary
AIOHTTP contains a vulnerability where base64 encoded multipart parts bypass client_max_size checks, leading to excessive memory use or event loop blocking. Engineering teams using aiohttp must update their packages to the fixed version.
Who is affected
Deployments handling multipart requests via AIOHTTP are affected if an attacker sends a specially crafted request with a short Content-Length or a long run of whitespace and base64 encoding. This condition allows the parser to read the entire remaining body into memory in a single call or spin the event loop, causing a denial of service.
Exploitability
The vulnerability is remotely exploitable over a network without requiring authentication or user interaction with a CVSS base score of 7.5. The current EPSS score is 0.005 with a percentile of 0.466, and CISA KEV status is no.
Remediation
- Upgrade PyPI package aiohttp to version 3.14.4 or later.
How to check your project
- Check project dependency files such as requirements.txt, pyproject.toml, or setup.py for aiohttp versions prior to 3.14.4.
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:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
What packages are affected?
The PyPI package aiohttp is affected for versions introduced at 0 and fixed in 3.14.4.
What is the security impact of this vulnerability?
An attacker can bypass client_max_size limits to cause excessive memory consumption or block the event loop, resulting in a denial of service.
Is this vulnerability actively being exploited in the wild?
No, CISA Known Exploited Vulnerabilities status is no.
Original advisory description
References
- WEB https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-128127
- WEB https://github.com/aio-libs/aiohttp/pull/13509
- WEB https://github.com/aio-libs/aiohttp/pull/13513
- WEB https://github.com/aio-libs/aiohttp/commit/2d9c5c1062eff0034fb3ab120897a6c1b3ff7041
- WEB https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd
- PACKAGE https://github.com/aio-libs/aiohttp
- WEB https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
Source records: GHSA-24c4-3p7v-29cm, PYSEC-2026-4394 (OSV.dev) · EPSS by FIRST, 2026-11-26.