Skip to content
On CISA KEVHigh

CVE-2024-23334Aiohttp Path Traversal

aiohttp is vulnerable to directory traversal

Published Jan 29, 2024 · Updated Nov 25, 2026 · Also known as ALPINE-CVE-2024-23334, CGA-5j3x-ccgg-wfhv, CGA-5mw4-f3gq-5xwg, CGA-5vww-mxmm-h3mw, CGA-7cc5-qmv5-8c8g, CGA-9g2p-x99v-582r, CGA-c38v-gwv6-hf5j, CGA-fj96-p5h8-7xjr, CGA-j52c-9fj2-8gwm, CGA-j74p-p678-m9cv, CGA-jjxc-65px-p8q5, CGA-p7cx-p2p6-ww26, CGA-ppvf-m84h-4p5f, CGA-wghw-w2xw-548x, CGA-x76q-95f2-ccmx, CLEANSTART-2026-FO85527, CLEANSTART-2026-ME78945, CLEANSTART-2026-WV06692, CLEANSTART-2026-WV85178, CLSA-2026-1767571990, CLSA-2026-1773620206, CLSA-2026-1788349677, CLSA-2026-1788792738, DEBIAN-CVE-2024-23334, ECHO-14a1-a31d-6fee, GHSA-5h86-8mv2-jq9f, GHSA-pjjw-qhg8-p2p9, MGASA-2024-0388, OESA-2025-1271, OESA-2025-1272, PYSEC-2024-24, ROOT-APP-PYPI-CVE-2024-23334, UBUNTU-CVE-2024-23334, openSUSE-SU-2024:13642-1

Key Facts

Patch immediately
  • CVE-2024-23334 is a high-severity vulnerability (CVSS 8.2 v4) affecting Aiohttp, Fedora (Fedoraproject), py3-aiohttp (alpine) and 18 more products.
  • It is exploited in the wild, listed in Industry KEV feed since Mar 15, 2024. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 26% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Aiohttp 1c335944d6a8b1298baf179b7c0b3069f10c514b, Aiohttp 2.3.9+sp999, Aiohttp 3.8.1.post7+tuxcare.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v4

8.2

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS (30-day exploit likelihood)

26%

Higher than 98.4% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

53/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Mar 15, 2024

46 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

2

Reports of active use

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedMar 15, 2024n/aNot reported

Affected Products

91 affected entries in total
ProductAffected versionsFixed in
AiohttpAiohttp>= 1.0.5, < 3.9.23.9.2
FedoraFedoraproject39n/a
py3-aiohttpalpineSee advisory3.9.3-r0
checkovwolfiSee advisory3.0.34-r1
py3.13-scanner-test-libraries-aiohttpchainguardSee advisory0.0.1-r1
16 more affected products in the full CVE brief

Patched Releases

Aiohttp

1c335944d6a8b1298baf179b7c0b3069f10c514b, 2.3.9+sp999, 3.8.1.post7+tuxcare, 3.8.4.post8+tuxcare, 3.8.5.post3+tuxcare, 3.8.6.post12+tuxcare, 3.8.6+aikido.1, 3.8.6+aikido.10, 3.8.6+aikido.11, 3.8.6+aikido.12, 3.8.6+aikido.13, 3.8.6+aikido.14, 3.8.6+aikido.15, 3.8.6+aikido.16, 3.8.6+aikido.17, 3.8.6+aikido.18, 3.8.6+aikido.19, 3.8.6+aikido.2, 3.8.6+aikido.3, 3.8.6+aikido.4, 3.8.6+aikido.5, 3.8.6+aikido.6, 3.8.6+aikido.7, 3.8.6+aikido.8, 3.8.6+aikido.9, 3.9.1+aikido.7, 3.9.1+aikido.8, 3.9.1+aikido.9, 3.9.2

apache-superset

2021.36.5-r0, 2021.38.2-r0, 2021.40.1-r0, 2021.41.0-r0

automation-controller

0:4.5.5-2.el8ap, 0:4.5.5-2.el9ap

checkov

3.0.34-r1

py3-aiohttp

3.9.3-r0

py3-cassandra-medusa

0.17.2-r1, 0.19.1-r1

py3-cassandra-medusa-compat

0.17.2-r1

py3.12-aiohttp

3.9.3-r0

py3.13-scanner-test-libraries-aiohttp

0.0.1-r1

python-aiohttp

0:3.9.2-1.el8ui, 0:3.9.3-1.el9ap, 3.0.1-1ubuntu0.1~esm4, 3.14.3-1.1, 3.6.2-1ubuntu1+esm3, 3.7.4-1+deb11u1, 3.7.4-5.oe2003sp4, 3.7.4-6.oe2203sp3, 3.7.4-6.oe2203sp4, 3.8.1-4ubuntu0.2, 3.8.3-3.2.mga9, 3.8.4-1+deb12u1, 3.9.1-1ubuntu0.1, 3.9.3-1.1, 3.9.3-150400.10.14.1, 3.9.5-1

python-jinja2

2.7.2-4.el7+sp999

python310-aiohttp

3.9.3-1.1

python311-aiohttp

3.9.3-1.1, 3.9.3-150400.10.14.1

python313-aiohttp

3.14.3-1.1

python314-aiohttp

3.14.3-1.1

python39-aiohttp

3.9.3-1.1

python3x-aiohttp

0:3.9.3-1.el8ap

rootio-aiohttp

3.8.6+root.io.1, 3.8.6+root.io.10, 3.8.6+root.io.2, 3.8.6+root.io.3, 3.8.6+root.io.4, 3.8.6+root.io.5, 3.8.6+root.io.6, 3.8.6+root.io.7, 3.8.6+root.io.8, 3.8.6+root.io.9, 3.9.1+root.io.6, 3.9.1+root.io.7

seal-aiohttp

2.3.9+sp999

seal-python-jinja2

2.7.2-4.el7+sp999

Timeline

  1. Publicly disclosed

    Jan 29, 2024

  2. Added to Industry KEV feed

    Mar 15, 2024

  3. Last updated

    Nov 25, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-444 Inconsistent Interpretation of HTTP Requests

FAQ

Common Questions.

Is CVE-2024-23334 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.