Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2024-23334· Medium 5.9

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

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 30 May 2025

  2. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  3. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by GitHub, Inc.

    , 1.4 years before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. In Threat Radar

    record ingested

    , 1 minute after disclosure

  4. 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=stonkingOther threatsAffected
  • 3.13.3-3ubuntu1 – 3.14.3-1
4 affected builds
Fixed in–
Ubuntu Pro 26.04 LTSpython-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 3.11.16-1 – 3.13.3-3ubuntu1+esm1
5 affected builds
Fixed in–
Ubuntu 25.10python-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=questingOther threatsAffected
  • =3.10.11-1build1
  • =3.11.16-1
  • =3.11.16-1ubuntu0.1
Fixed in–
Ubuntu 24.04 LTSpython-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=nobleOther threatsAffected
  • <3.9.1-1ubuntu0.1
Fixed in
  • 3.9.1-1ubuntu0.1
Ubuntu 22.04 LTSpython-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=jammyOther threatsAffected
  • <3.8.1-4ubuntu0.2
Fixed in
  • 3.8.1-4ubuntu0.2
Ubuntu Pro 20.04 LTSpython-aiohttppkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/focalOther threatsAffected
  • <3.6.2-1ubuntu1+esm3
Fixed in
  • 3.6.2-1ubuntu1+esm3

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

Community reviews

Loading reviews…