ADVISORIES

Vulnerability

CVE-2024-42367

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch prior to version 3.10.2, static routes which contain files with compressed variants (`.gz` or `.br` extension) are vulnerable to path traversal outside the root directory if those variants are symbolic links. The server protects static routes from path traversal outside the root directory when `follow_symlinks=False` (default). It does this by resolving the requested URL to an absolute path and then checking that path relative to the root. However, these checks are not performed when looking for compressed variants in the `FileResponse` class, and symbolic links are then automatically followed when performing the `Path.stat()` and `Path.open()` to send the file. Version 3.10.2 contains a patch for the issue.

50 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • AZL-47754

    CVE-2024-42367 affecting package python-aiohttp 3.6.2-3

    CVE-2024-42367 Azure Linux Updated 21 April 2026
  • AZL-47763

    CVE-2024-42367 affecting package python-aiohttp 3.6.2-3

    CVE-2024-42367 Azure Linux Updated 23 November 2026
  • CGA-2cpr-mf8j-7rfj
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-3gg9-38vf-v62f
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-3jf8-7563-vf9m
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-3wm4-w7w2-75f4
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-46vc-hg34-r2gw
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-668c-cqpr-whqh
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-7gw8-w26r-8q3g
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-94rc-x35g-54wg
    CVE-2024-42367 Chainguard Updated 5 November 2026
  • CGA-98cj-mjcp-6842
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-9fhr-hpch-gf43
    CVE-2024-42367 Chainguard Updated 5 November 2026
  • CGA-9pgx-7qq2-q6j9
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-c6gv-f9f6-5pcw
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-c7w9-r87m-8jqv
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-cc6x-ch94-4mgp
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-cm78-g79w-c733
    CVE-2024-42367 ChainguardWolfi Updated 27 October 2026
  • CGA-f3r8-r9mg-ppgw
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-fc2q-r5j4-vx9v
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-ffh4-3vh7-wx5f
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-fjjq-72r5-mgfv
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-fmcm-2mhp-x76m
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-gj55-379h-225m
    CVE-2024-42367 ChainguardWolfi Updated 27 October 2026
  • CGA-gm4h-xhm4-jv89
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-gv7c-g7h3-fcq2
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-hpx5-hpch-2g3x
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-hq43-jp7p-q9qr
    CVE-2024-42367 Chainguard Updated 5 November 2026
  • CGA-hrqr-26hh-3gr6
    CVE-2024-42367 Chainguard Updated 5 November 2026
  • CGA-jfw4-pgfg-vm77
    CVE-2024-42367 Chainguard Updated 5 November 2026
  • CGA-jmpw-679x-v8w3
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-m96h-5wmg-5347
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-mg6m-8rg2-rvjv
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-ppwj-pf6p-279g
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-q4v7-6m94-92cf
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-qq4f-f67v-3xv3
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-qwwr-cvgg-32wm
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-qxm2-94v7-7p7h
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-rc3g-q6m6-25jg
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-rvr6-m65c-jq77
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-v8h3-35m9-wxgp
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • CGA-xg2m-rq23-qjcv
    CVE-2024-42367 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-42367

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch prior to version 3.10.2, static routes which contain files with compressed variants (`.gz` or `.br`…

    CVE-2024-42367 Debian Updated 2 November 2026
  • GHSA-jwhx-xcg6-8xhj

    In aiohttp, compressed files as symlinks are not protected from path traversal

    Moderate CVE-2024-42367 PyPI Updated 10 September 2026
  • OESA-2024-2254

    python-aiohttp security update

    Medium CVE-2024-42367 openEuler Updated 18 August 2026
  • PYSEC-2026-1108

    In aiohttp, compressed files as symlinks are not protected from path traversal

    CVE-2024-42367 PyPI Updated 7 July 2026
  • SUSE-SU-2024:3110-1

    Security update for python-aiohttp

    CVE-2024-42367 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2024-42367

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch prior to version 3.10.2, static routes which contain files with compressed variants (`.gz` or `.br`…

    Moderate CVE-2024-42367 SUSE Updated 16 October 2026
  • UBUNTU-CVE-2024-42367

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch prior to version 3.10.2, static routes which contain files with compressed variants (`.gz` or `.br`…

    CVE-2024-42367 Ubuntu Updated 17 July 2025
  • openSUSE-SU-2024:14280-1

    python310-aiohttp-3.10.5-1.1 on GA media

    CVE-2024-42367 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11467-1

    python313-aiohttp-3.14.3-1.1 on GA media

    CVE-2021-21330CVE-2023-47627CVE-2023-47641CVE-2023-49081 openSUSE Updated 7 August 2026

References