CVE-2024-23334Aiohttp Path Traversal
aiohttp is vulnerable to directory traversal
Published Jan 29, 2024 · Updated Nov 25, 2026 · Also known as ALPINE-CVE-2024-23334, CGA-5j3x-ccgg-wfhv, CGA-5mw4-f3gq-5xwg, CGA-5vww-mxmm-h3mw, CGA-7cc5-qmv5-8c8g, CGA-9g2p-x99v-582r, CGA-c38v-gwv6-hf5j, CGA-fj96-p5h8-7xjr, CGA-j52c-9fj2-8gwm, CGA-j74p-p678-m9cv, CGA-jjxc-65px-p8q5, CGA-p7cx-p2p6-ww26, CGA-ppvf-m84h-4p5f, CGA-wghw-w2xw-548x, CGA-x76q-95f2-ccmx, CLEANSTART-2026-FO85527, CLEANSTART-2026-ME78945, CLEANSTART-2026-WV06692, CLEANSTART-2026-WV85178, CLSA-2026-1767571990, CLSA-2026-1773620206, CLSA-2026-1788349677, CLSA-2026-1788792738, DEBIAN-CVE-2024-23334, ECHO-14a1-a31d-6fee, GHSA-5h86-8mv2-jq9f, GHSA-pjjw-qhg8-p2p9, MGASA-2024-0388, OESA-2025-1271, OESA-2025-1272, PYSEC-2024-24, ROOT-APP-PYPI-CVE-2024-23334, UBUNTU-CVE-2024-23334, openSUSE-SU-2024:13642-1
Key Facts
Patch immediately- CVE-2024-23334 is a high-severity vulnerability (CVSS 8.2 v4) affecting Aiohttp, Fedora (Fedoraproject), py3-aiohttp (alpine) and 18 more products.
- It is exploited in the wild, listed in Industry KEV feed since Mar 15, 2024. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 26% probability of exploitation in the next 30 days.
- Fixed versions are available, including Aiohttp 1c335944d6a8b1298baf179b7c0b3069f10c514b, Aiohttp 2.3.9+sp999, Aiohttp 3.8.1.post7+tuxcare.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v4
8.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
26%
Higher than 98.4% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
53/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Mar 15, 2024
46 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-23334
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-23334
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2024-23334
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2024-23334
- advisoryhttps://ubuntu.com/security/CVE-2024-23334
- advisoryRHSA-2024:1536
Description
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Mar 15, 2024 | n/a | Not reported |
Affected Products
91 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| AiohttpAiohttp | >= 1.0.5, < 3.9.2 | 3.9.2 |
| FedoraFedoraproject | 39 | n/a |
| py3-aiohttpalpine | See advisory | 3.9.3-r0 |
| checkovwolfi | See advisory | 3.0.34-r1 |
| py3.13-scanner-test-libraries-aiohttpchainguard | See advisory | 0.0.1-r1 |
Patched Releases
Aiohttp
1c335944d6a8b1298baf179b7c0b3069f10c514b, 2.3.9+sp999, 3.8.1.post7+tuxcare, 3.8.4.post8+tuxcare, 3.8.5.post3+tuxcare, 3.8.6.post12+tuxcare, 3.8.6+aikido.1, 3.8.6+aikido.10, 3.8.6+aikido.11, 3.8.6+aikido.12, 3.8.6+aikido.13, 3.8.6+aikido.14, 3.8.6+aikido.15, 3.8.6+aikido.16, 3.8.6+aikido.17, 3.8.6+aikido.18, 3.8.6+aikido.19, 3.8.6+aikido.2, 3.8.6+aikido.3, 3.8.6+aikido.4, 3.8.6+aikido.5, 3.8.6+aikido.6, 3.8.6+aikido.7, 3.8.6+aikido.8, 3.8.6+aikido.9, 3.9.1+aikido.7, 3.9.1+aikido.8, 3.9.1+aikido.9, 3.9.2
apache-superset
2021.36.5-r0, 2021.38.2-r0, 2021.40.1-r0, 2021.41.0-r0
automation-controller
0:4.5.5-2.el8ap, 0:4.5.5-2.el9ap
checkov
3.0.34-r1
py3-aiohttp
3.9.3-r0
py3-cassandra-medusa
0.17.2-r1, 0.19.1-r1
py3-cassandra-medusa-compat
0.17.2-r1
py3.12-aiohttp
3.9.3-r0
py3.13-scanner-test-libraries-aiohttp
0.0.1-r1
python-aiohttp
0:3.9.2-1.el8ui, 0:3.9.3-1.el9ap, 3.0.1-1ubuntu0.1~esm4, 3.14.3-1.1, 3.6.2-1ubuntu1+esm3, 3.7.4-1+deb11u1, 3.7.4-5.oe2003sp4, 3.7.4-6.oe2203sp3, 3.7.4-6.oe2203sp4, 3.8.1-4ubuntu0.2, 3.8.3-3.2.mga9, 3.8.4-1+deb12u1, 3.9.1-1ubuntu0.1, 3.9.3-1.1, 3.9.3-150400.10.14.1, 3.9.5-1
python-jinja2
2.7.2-4.el7+sp999
python310-aiohttp
3.9.3-1.1
python311-aiohttp
3.9.3-1.1, 3.9.3-150400.10.14.1
python313-aiohttp
3.14.3-1.1
python314-aiohttp
3.14.3-1.1
python39-aiohttp
3.9.3-1.1
python3x-aiohttp
0:3.9.3-1.el8ap
rootio-aiohttp
3.8.6+root.io.1, 3.8.6+root.io.10, 3.8.6+root.io.2, 3.8.6+root.io.3, 3.8.6+root.io.4, 3.8.6+root.io.5, 3.8.6+root.io.6, 3.8.6+root.io.7, 3.8.6+root.io.8, 3.8.6+root.io.9, 3.9.1+root.io.6, 3.9.1+root.io.7
seal-aiohttp
2.3.9+sp999
seal-python-jinja2
2.7.2-4.el7+sp999
Timeline
Publicly disclosed
Jan 29, 2024
Added to Industry KEV feed
Mar 15, 2024
Last updated
Nov 25, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-444 Inconsistent Interpretation of HTTP Requests
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-23334
- advisorysecurity.alpinelinux.org · CVE-2024-23334
- advisorysecurity-tracker.debian.org · CVE-2024-23334
- advisoryubuntu.com · CVE-2024-23334
FAQ
Common Questions.
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python.
Affected: Aiohttp versions >= 1.0.5, < 3.9.2; Fedora (Fedoraproject) versions 39; py3-aiohttp (alpine), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Mar 15, 2024.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Aiohttp 1c335944d6a8b1298baf179b7c0b3069f10c514b, Aiohttp 2.3.9+sp999, Aiohttp 3.8.1.post7+tuxcare.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2024-23334 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo