Live threats

All CVEs / Aiohttp

CVE-2024-23334Aiohttp

High 7.5 No auth neededHigh EPSS

Priority
63
CVSS 3.1
7.5
EPSS
26.3%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Jan 29, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and using a reverse proxy are encouraged mitigations. Version 3.9.2 fixes this issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Aiohttp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI aiohttp ≥ 1.0.5 < 3.9.2 3.9.2 pip install "aiohttp>=3.9.2"
PyPI aiohttp ≥ 1.0.5 < 3.9.2 3.9.2 pip install "aiohttp>=3.9.2"

Per OSV / GitHub Advisories (GHSA-5h86-8mv2-jq9f, PYSEC-2024-24). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
aiohttpaiohttp≥ 1.0.5 < 3.9.2
fedoraprojectfedora39

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.