CVE-2024-23334: Python aiohttp · When using aiohttp as a web server and configuring static routes, it is necessary to
Affects python-aiohttpSource GCVE Database
Public exploit available (Exploit-DB) · CVSS 5.9 Medium · fixed in 3.0.1-1ubuntu0.1~esm4 : patch python-aiohttp as a priority.
Data as of 24 Nov 2026, 19:25 UTC
- Patch
- Available – fixed in 3.0.1-1ubuntu0.1~esm4, 3.6.2-1ubuntu1+esm3, 3.8.1-4ubuntu0.2 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 30 May 2025
Detectable: evidence found.
Weaponized: evidence found.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by GitHub, Inc.
, 1.4 years before disclosure
CVE published
on cve.org
, t = 0
In Threat Radar
record ingested
, 1 minute after disclosure
First Exploit-DB entry (opens in a new tab)
aiohttp 3.9.1 - Directory Traversal PoC
, 250 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSpython-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10python-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpython-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-23334 (opens in a new tab)
- github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f (opens in a new tab)
- github.com/aio-libs/aiohttp/pull/8079 (opens in a new tab)
- github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-23334 (opens in a new tab)
- ubuntu.com/security/notices/USN-6991-1 (opens in a new tab)