{"id":"CVE-2024-23334","published":"2024-01-29T22:41:39Z","modified":"2026-02-04T19:22:36Z","title":"aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal","vendor":"aio-libs","product":"aiohttp","tier":"core","eol":null,"affectedVersions":[{"vendor":"aio-libs","product":"aiohttp","versions":["< 3.9.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-30T19:29:24.076502Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"A directory traversal flaw in aiohttp's static file handler, aiohttp.web.static with follow_symlinks=True, lets files outside the configured static root be read when that option is enabled. An unauthenticated remote attacker with network access can exploit it without user interaction, provided the server is configured with follow_symlinks set to True and serves static routes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:58:10Z"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.76875,"percentile":0.99554,"date":"2026-11-24","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-03-15","exploitedFirstSeen":"2024-03-15","ransomware":true,"evidence":[{"url":"https://cyble.com/blog/cgsi-probes-shadowsyndicate-groups-possible-exploitation-of-aiohttp-vulnerability-cve-2024-23334/","date":"2024-03-15"},{"url":"https://www.orangecyberdefense.com/fileadmin/general/pdf/Cy-Xplorer-2024.pdf","date":"2024-07-08"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":9,"pulses":[{"name":"Spam “Broken Seal” DocuSign-themed Delivery w/Fileless Process Hollowing (Zeppelin/Bloat-A) by msudosos","url":"https://otx.alienvault.com/pulse/69bf64eccb5d39a90a3c391e","created":"2026-03-22"},{"name":"Spam “Broken Seal” DocuSign-themed Delivery w/Fileless Process Hollowing (Zeppelin/Bloat-A) by msudosos","url":"https://otx.alienvault.com/pulse/69bf64e1d5e06aa6207f78de","created":"2026-03-22"},{"name":"“Broken Seal” DocuSign-themed Delivery with Fileless Process Hollowing (Zeppelin/Bloat-A)","url":"https://otx.alienvault.com/pulse/698e93e1ab02db8c49e8c3ed","created":"2026-02-13"},{"name":"ACTUALIZACION | : AIOHTTP vulnerability | Ubuntu security notices | Ubuntu","url":"https://otx.alienvault.com/pulse/66db0688d45a15410bd6aca0","created":"2024-09-06"},{"name":"CGSI Probes: ShadowSyndicate Group&#039;s Possible Exploitation Of Aiohttp Vulnerability (CVE-2024-23334) - Cyble","url":"https://otx.alienvault.com/pulse/65fa79688b08b4c3e487c39f","created":"2024-03-20"},{"name":"CGSI Probes: ShadowSyndicate Group’s Possible Exploitation of Aiohttp Vulnerability (CVE-2024-23334)","url":"https://otx.alienvault.com/pulse/65f9aa2a826f1f51e78b1c6f","created":"2024-03-19"},{"name":"CGSI Probes: ShadowSyndicate Group&#039;s Possible Exploitation Of Aiohttp Vulnerability (CVE-2024-23334)  - Cyble","url":"https://otx.alienvault.com/pulse/65f8835424569cc9eb09718e","created":"2024-03-18"},{"name":"CGSI Probes: ShadowSyndicate Group&#039;s Possible Exploitation Of Aiohttp Vulnerability (CVE-2024-23334)  - Cyble","url":"https://otx.alienvault.com/pulse/65f83858fff339bb43dbce52","created":"2024-03-18"},{"name":"Ransomware Actor Exploits Aiohttp to Detect Vulnerable Networks","url":"https://otx.alienvault.com/pulse/65f7a171718ac08390576380","created":"2024-03-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aio-libs/aiohttp/pull/8079","tags":["x_refsource_MISC"]},{"url":"https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html","tags":[]},{"url":"https://www.exploit-db.com/exploits/52474","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"aiohttp","vulnerableRanges":[">=1.0.5, <3.9.2"],"patched":["3.9.2"],"from":["GHSA-5h86-8mv2-jq9f","PYSEC-2024-24"],"provenance":"source"}],"advisories":[{"id":"GHSA-5h86-8mv2-jq9f","url":"https://github.com/advisories/GHSA-5h86-8mv2-jq9f","severity":"HIGH","ecosystem":"PyPI","package":"aiohttp","vulnerableRanges":[">=1.0.5, <3.9.2"],"patched":["3.9.2"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-0001","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0001","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":52474,"url":"https://www.exploit-db.com/exploits/52474","title":"aiohttp 3.9.1 - Directory Traversal (PoC)","type":"webapps","platform":"python","date":"2026-02-04","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-02-04"},"pocGithub":{"count":14,"skipped":1,"earliest":"2024-02-28","earliestUrl":"https://github.com/ox1111/CVE-2024-23334","repos":[{"name":"jhonnybonny/CVE-2024-23334","url":"https://github.com/jhonnybonny/CVE-2024-23334","stars":27,"created":"2024-03-19"},{"name":"z3rObyte/CVE-2024-23334-PoC","url":"https://github.com/z3rObyte/CVE-2024-23334-PoC","stars":20,"created":"2024-03-18"},{"name":"ox1111/CVE-2024-23334","url":"https://github.com/ox1111/CVE-2024-23334","stars":6,"created":"2024-02-28"},{"name":"wizarddos/CVE-2024-23334","url":"https://github.com/wizarddos/CVE-2024-23334","stars":5,"created":"2024-10-20"},{"name":"sxyrxyy/aiohttp-exploit-CVE-2024-23334-certstream","url":"https://github.com/sxyrxyy/aiohttp-exploit-CVE-2024-23334-certstream","stars":4,"created":"2024-03-17"}]},"nuclei":[{"id":"CVE-2024-23334","name":"aiohttp - Directory Traversal","severity":"high","path":"http/cves/2024/CVE-2024-23334.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-23334.yaml"}],"first":{"date":"2024-02-28","source":"PoC-in-GitHub","url":"https://github.com/ox1111/CVE-2024-23334"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/52474"],"flow":[],"timeline":[{"date":"2024-01-29","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-23334","provenance":"source"},{"date":"2024-02-28","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2026-02-04","url":"https://github.com/ox1111/CVE-2024-23334","provenance":"source"},{"date":"2024-03-15","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://cyble.com/blog/cgsi-probes-shadowsyndicate-groups-possible-exploitation-of-aiohttp-vulnerability-cve-2024-23334/","provenance":"source"}],"speed":{"daysToPublicExploit":30,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":76.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 984 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9955"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 14 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.27,"detail":"9 pulses"},{"name":"CVSS severity","points":4.13,"detail":"base score 5.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-aio-libs-aiohttp-cve-2024-23334","children":[{"from":"CVE-2024-23334","to":"CVE-2024-27306","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["aiohttp/web_urldispatcher.py"],"commits":["https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b","https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397"],"basis":"rarely changed file"}]},{"from":"CVE-2024-23334","to":"CVE-2025-69226","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["aiohttp/web_urldispatcher.py"],"commits":["https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b","https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-47627","published":"2023-11-14","fixed":"3.8.6","kev":false},{"cve":"CVE-2023-49081","published":"2023-11-30","fixed":"3.9.0","kev":false,"link":{"from":"CVE-2023-49081","to":"CVE-2024-23334","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:aiohttp","fromFixed":"3.9.0","toFixed":"3.9.2","daysApart":60}]}},{"cve":"CVE-2023-49082","published":"2023-11-29","fixed":"3.9.0","kev":false},{"cve":"CVE-2024-23334","published":"2024-01-29","fixed":"3.9.2","kev":false},{"cve":"CVE-2024-23829","published":"2024-01-29","fixed":"3.9.2","kev":false},{"cve":"CVE-2024-27306","published":"2024-04-18","fixed":"3.9.4","kev":false},{"cve":"CVE-2024-30251","published":"2024-05-02","fixed":"3.9.4","kev":false}],"package":"PyPI:aiohttp"}}