All vulnerabilities

PyPI

CVE-2026-128126

AIOHTTP: Too many URL-encoded form fields block the event loop

Severity
High
Published
16 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.14.4
Exploit chance
0.7% in the next 30 daysHigher than 54% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Also known as
GHSA-xgw8-8ccx-rmqh, PYSEC-2026-4393
Sources
OSV.dev and GitHub

Description

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.

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

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
aiohttpPyPI · osv:PyPI:aiohttp
  • Every version before 3.14.4

About aiohttp

Weekly downloads (PyPI)
133,681,616PyPI Stats, 24 Nov 2026

References