ADVISORIES

PyPA Advisory Database

PYSEC-2026-1099

AIOHTTP's unicode processing of header values could cause parsing discrepancies

Details

Summary

The Python HTTP parser may allow a request smuggling attack with the presence of non-ASCII characters.

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/32677f2adfd907420c078dda6b79225c6f4ebce0

Affected packages

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

References