Advisory

GHSA-63hf-3vf5-4wqf

Also known as: CVE-2026-34520, PYSEC-2026-2102

Summary

AIOHTTP's C parser (llhttp) accepts null bytes and control characters in response header values - header injection/security bypass

Details

Summary

The C parser (the default for most installs) accepted null bytes and control characters in request headers.

Impact

An attacker could send header values that are interpreted differently than expected due to the presence of control characters. For example, request.url.origin() may return a different value than the raw Host header, or what a reverse proxy interpreted it as., potentially resulting in some kind of security bypass.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/9370b9714a7a56003cacd31a9b4ae16eab109ba4

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-04-01 21:49 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.13.4 (ecosystem)

Fixed versions

3.13.4

Fix

  • Fixed version 3.13.4
    pip install --upgrade aiohttp==3.13.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences