ADVISORIES

PyPA Advisory Database

PYSEC-2026-1103

aiohttp allows request smuggling due to incorrect parsing of chunk extensions

Details

Summary

The Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions.

Impact

If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71

Affected packages

EcosystemPackageAffected versions
PyPIaiohttp
All versions before 3.10.11 (fixed in 3.10.11)

References