Summary
CVE-2026-128126 is an algorithmic complexity denial-of-service vulnerability (CWE-407) in AIOHTTP, the asynchronous HTTP client/server framework for Python. A remote, unauthenticated attacker can send a crafted form POST that blocks the server’s event loop. The severity is High (CVSS 8.7).
Technical details
- Root cause:
Request.post()does not limit the number of fields in a URL-encoded form body. Inserting many repeated keys into aMultiDicttakes quadratic time. - Trigger conditions: the application calls
Request.post()on a request body that is URL-encoded form data. - Attack vector: network. The attacker sends an HTTP POST with a URL-encoded body that contains many repeated keys. No authentication or user interaction is required.
- Impact: the quadratic processing runs on the event loop and blocks it. This causes a high availability impact. The CVE record lists no confidentiality or integrity impact.
Affected software
- AIOHTTP (aio-libs): all versions prior to 3.14.4
Severity
- CVSS v4.0 base score: 8.7 (High). The CVE record provides a CVSS v4.0 score, not a v3.1 one.
- Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: upgrade AIOHTTP to version 3.14.4 or later. The fix is in pull requests #13738 and #13741 and is described in advisory GHSA-xgw8-8ccx-rmqh.
- If you cannot patch immediately, I found no vendor-documented workaround. As an interim measure, consider limiting request body size or rate-limiting form POST requests at a reverse proxy or WAF.

