PyPA Advisory Database
PYSEC-2026-1097
AIOHTTP vulnerable to brute-force leak of internal static file path components
Details
Summary
Path normalization for static files prevents path traversal, but opens up the ability for an attacker to ascertain the existence of absolute path components.
Impact
If an application uses web.static() (not recommended for production deployments), it may be possible for an attacker to ascertain the existence of path components.
------
Patch: https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | aiohttp | All versions before 3.13.3 (fixed in 3.13.3) |
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-54jq-c3m8-4m76
- https://nvd.nist.gov/vuln/detail/CVE-2025-69226
- https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e
- https://github.com/aio-libs/aiohttp
- https://pypi.org/project/aiohttp
- https://github.com/advisories/GHSA-54jq-c3m8-4m76