VDB
Sign up
MEDIUM6.1

PYSEC-2026-2109

Quick fix

PYSEC-2026-2109 — aiohttp: upgrade to the fixed version with the command below.

pip install --upgrade 'aiohttp>=3.14.1'

Details

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, DigestAuthMiddleware can send an authentication response after following a cross-origin redirect. This likely requires an open redirect vulnerability or similar on the target domain for an attacker to be able to execute. Further, the attacker is only receiving the digest, so should only be able to extract the user's credentials if the cryptography is weak or there is some kind of password reuse. This vulnerability is fixed in 3.14.1.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References