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.
CVE-2024-23334
This medium-severity CVE scores 5.9 under NVD CVSS v3. EPSS exploit probability: 76.9%, top 1% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 77%
A fix is available — apply it.
- CVSS v3
- 5.9
- EG Score
- 5.9(medium)
- EG Risk
- —
- EPSS
- 99.5%
- KEV
- Not listed
Published
January 29, 2024
Last Modified
February 4, 2026
References (12)
- security-advisories@githubhttps://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b
- security-advisories@githubhttps://github.com/aio-libs/aiohttp/pull/8079
- security-advisories@githubhttps://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/
- af854a3a-2127-422b-91ae-364da2661108https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b
- af854a3a-2127-422b-91ae-364da2661108https://github.com/aio-libs/aiohttp/pull/8079
- af854a3a-2127-422b-91ae-364da2661108https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/
- af854a3a-2127-422b-91ae-364da2661108https://www.exploit-db.com/exploits/52474
Vendor Advisories for CVE-2024-23334(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(5)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-aiohttp (3.9.1-1ubuntu0.1) @ noble | 2026-05-24 | ubuntu |
| redhat | python-aiohttp-0:3.9.2-1.el8pc | 2024-04-23 | redhat |
| redhat | python-aiohttp-0:3.9.2-1.el8ui | 2024-04-18 | redhat |
| redhat | python-aiohttp-0:3.9.3-1.el9ap | 2024-04-02 | redhat |
| redhat | python-aiohttp-0:3.9.2-0.1.el8pc | 2024-03-27 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| aiohttp | 1.0.5 ... 3.9.1 (137 versions) | 3.9.2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(4)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 7× in last 7d / 32× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 23:20 UTCEG score recompute▼ 3.10
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-14 21:25 UTCOSV refresh
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
Show 36 moreShow fewer
- 2026-06-26 22:09 UTCOSV refresh
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-09 09:30 UTCOSV refresh
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-24 09:28 UTCEG score recompute
- 2026-05-24 09:28 UTCVendor advisory
Publicly available exploits
(9 references)Working exploit code is in the public domain (7 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-52474First seen Feb 4, 2026
aiohttp 3.9.1 - directory traversal PoC
Open source ↗ - GitHub PoCTheRedP4nther/LFI-aiohttp-CVE-2024-23334-PoCFirst seen Nov 14, 2024
Bash script to automate Local File Inclusion (LFI) attacks on aiohttp server version 3.9.1.
Open source ↗ - GitHub PoCwizarddos/CVE-2024-23334First seen Oct 20, 2024
Proof-of-Concept for LFI/Path Traversal vulnerability in Aiohttp =< 3.9.1
Open source ↗ - GitHub PoCs4botai/CVE-2024-23334-PoCFirst seen Sep 8, 2024
A proof of concept of the LFI vulnerability on aiohttp 3.9.1
Open source ↗ - GitHub PoCjhonnybonny/CVE-2024-23334First seen Mar 19, 2024
aiohttp LFI (CVE-2024-23334)
Open source ↗ - GitHub PoCz3rObyte/CVE-2024-23334-PoCFirst seen Mar 18, 2024
A proof of concept of the path traversal vulnerability in the python AioHTTP library =< 3.9.1
Open source ↗ - Open source ↗GitHub PoCsxyrxyy/aiohttp-exploit-CVE-2024-23334-certstreamFirst seen Mar 17, 2024
- GitHub PoCox1111/CVE-2024-23334First seen Feb 28, 2024
CVE-2024-23334
Open source ↗ - Nucleihttp/cves/2024/CVE-2024-23334.yamlFirst seen Jan 1, 2024
aiohttp - Directory Traversal
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Frequently asked(5)
What is CVE-2024-23334?
When was CVE-2024-23334 disclosed?
Is CVE-2024-23334 actively exploited?
What is the CVSS score of CVE-2024-23334?
How do I remediate CVE-2024-23334?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-23334
Is Your Infrastructure Affected by CVE-2024-23334?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.