# GHSA-XGW8-8CCX-RMQH: AIOHTTP: Too many URL-encoded form fields block the event loop

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-11-16
- Modified: 2026-11-20

## Tracked as

- [CVE-2026-128126](https://cve.now/CVE-2026-128126.md): aiohttp denial of service in URL-encoded form parsing

## Also published as

- [PYSEC-2026-4393](https://cve.now/PYSEC-2026-4393.md) (PyPA)

## Affected versions

- aiohttp (PyPI): fixed in 3.14.4

## Description

### Summary

`Request.post()` had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a `MultiDict` took quadratic time on the event loop.

### Impact

An attacker could block the event loop with a form POST within the default `client_max_size` to any handler that calls `Request.post()`.

---

Patch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53

## References

- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh
- https://nvd.nist.gov/vuln/detail/CVE-2026-128126
- https://github.com/aio-libs/aiohttp/pull/13738
- https://github.com/aio-libs/aiohttp/pull/13741
- https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53
- https://github.com/aio-libs/aiohttp/commit/8b0100572936df28977b9de8a6cc7e464c0b521e
- https://github.com/aio-libs/aiohttp
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4

Page: https://cve.now/GHSA-XGW8-8CCX-RMQH

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
