VDB
Sign up
MEDIUM5.3

PYSEC-2026-4392

Quick fix

PYSEC-2026-4392 — 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, Set-Cookie parsing treats unrecognized name=value attributes as additional cookies, while CookieJar does not limit the number of cookies stored or sent. A malicious server can make an aiohttp client accumulate a very large cookie set, consume memory and CPU repeatedly across redirects, and construct an excessively large Cookie header for later requests to the same domain. This issue is fixed in version 3.14.4.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/aiohttp
Introduced in: 0Fixed in: 3.14.4
Fixpip install --upgrade 'aiohttp>=3.14.4'

References