HIGH7.5
PYSEC-2026-4393
Quick fix
PYSEC-2026-4393 — aiohttp: upgrade to the fixed version with the command below.
pip install --upgrade 'aiohttp>=3.14.4'Details
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Request.post() does not limit the number of fields in a URL-encoded form body, and inserting many repeated keys into MultiDict takes quadratic time on the event loop. A remote attacker can send a form POST within client_max_size to a handler that calls Request.post() and block the event loop. This issue is fixed in version 3.14.4.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4[ADVISORY]
- https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53[FIX]
- https://github.com/aio-libs/aiohttp/commit/8b0100572936df28977b9de8a6cc7e464c0b521e[FIX]
- https://github.com/aio-libs/aiohttp/pull/13738[FIX]
- https://github.com/aio-libs/aiohttp/pull/13741[FIX]
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh[FIX]