CVE-2026-128127 AIOHTTP: Base64 multipart parts bypass client_max_size
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-128127?
CVE-2026-128127 is a high-severity vulnerability in aio-libs aiohttp, published on 13 Nov 2026.
Official description
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, BodyPartReader.read_chunk() processing a multipart part with Content-Transfer-Encoding set to base64 keeps reading until the chunk length is a multiple of four without enforcing a byte limit. A short Content-Length or a long run of whitespace can cause one call to read the remaining body into memory before the size check or spin on the event loop. A remote attacker can send such a multipart request to a handler that reads multipart data and bypass client_max_size. This issue is fixed in version 3.14.4.
Weakness: CWE-400
Which versions are affected by CVE-2026-128127?
1 open source package ship an affected version, including aiohttp.
| Package | Affected | Fixed in |
|---|---|---|
aiohttp PyPIpkg:pypi/aiohttp | All versions | 3.14.4 |
Status by vendor (1)
| Who | Release | Status | Packages |
|---|---|---|---|
| Upstream | fixed | aiohttp (3.14.4)pkg:pypi/aiohttp |
How do I fix CVE-2026-128127?
Upgrade aiohttp to 3.14.4 or later.
Is CVE-2026-128127 being exploited?
There is no known exploitation of CVE-2026-128127 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-128127, ECHO-6dca-2bf6-8bdd, GHSA-24c4-3p7v-29cm, MINI-26g3-763w-8frc, MINI-663m-whcm-q388, MINI-mrvj-44x2-jfr3 and 1 more.