CVE-2024-23334Aiohttp
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Aiohttp · Aiohttp We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Aiohttp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| aiohttp | aiohttp | ≥ 1.0.5 < 3.9.2 |
| fedoraproject | fedora | 39 |
Official advisories
- python313-aiohttp-3.14.3-1.1 on GA media · SUSE · openSUSE-SU-2026:11467-1 · Aug 6, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Exploit Mitigation Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org Mailing List
- lists.debian.org
- www.exploit-db.com