CVE-2024-42367: aio-libs aiohttp · UNIX Symbolic Link (Symlink) Following
Affects aio-libs aiohttpSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium : upgrade to 3.8.5 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.8.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
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
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 2026-10-25.
What to do
Upgrade aio-libs aiohttp to 3.8.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIaiohttppkg:pypi/aiohttpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
An official fix is available in aiohttp version 3.8.5 and later. Users should upgrade to version 3.8.5 or above to remediate this vulnerability. Until patched, avoid using compressed file variants as symbolic links in static routes or restrict user ability to upload or create such symbolic links.
Description
A path traversal vulnerability exists in aiohttp versions prior to 3.8.5 when serving static routes with compressed file variants (.gz or .br) that are symbolic links. The server's default protection against path traversal does not apply to these compressed variants, allowing symbolic links to be followed outside the root directory. This can lead to unauthorized file access if such symbolic links point outside the intended directory or if users can create/upload them.
References
- github.com/aio-libs/aiohttp/security/advisories/GHSA-jwhx-xcg6-8xhj (opens in a new tab)
- github.com/aio-libs/aiohttp/pull/8653 (opens in a new tab)
- github.com/aio-libs/aiohttp/commit/ce2e9758814527589b10759a20783fb03b98339f (opens in a new tab)
- github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_fileresponse.py (opens in a new tab)
- github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_urldispatcher.py (opens in a new tab)