ADVISORIES

Vulnerability

CVE-2024-27306

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable `show_index` if unable to upgrade.

56 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • AZL-43357

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

    CVE-2024-27306 Azure Linux Updated 23 November 2026
  • AZL-43372

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

    CVE-2024-27306 Azure Linux Updated 21 April 2026
  • CGA-2468-9f95-mr9h
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-2rg8-fcwm-2j75
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-3gjp-35gr-3v84
    CVE-2024-27306 Chainguard Updated 5 November 2026
  • CGA-45fm-5r7r-938h
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-4cpm-jhwx-wf34
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-5xcx-3r64-jq93
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-6p5x-mvpc-c6g8
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-6wjh-g2j4-26jj
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-7phq-gcjh-m62w
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-7qvj-m56w-m3fm
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-92g8-r9mp-5wr3
    CVE-2024-27306 Chainguard Updated 5 November 2026
  • CGA-9cfw-7hg6-6g2m
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-9g92-xmgq-r5x5
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-9j52-8h85-ggj9
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-c2ph-9v2r-6692
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-chpm-6qvh-5pv9
    CVE-2024-27306 Chainguard Updated 5 November 2026
  • CGA-cr6r-mw5g-3838
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-g4v6-f38r-jwj8
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-hq96-59rf-46rv
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-hwvh-v762-hwg4
    CVE-2024-27306 Chainguard Updated 5 November 2026
  • CGA-hxx9-q5rm-53vf
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-m8mj-r63j-2552
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-p55m-84q5-f5pf
    CVE-2024-27306 Chainguard Updated 5 November 2026
  • CGA-p6jg-962q-j4fj
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-ph4r-4v3h-x92h
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-q4gj-h366-3m97
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-qhp7-5jqf-qf6g
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-qvr6-7rqp-jgxw
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-qxfq-gfx4-8g32
    CVE-2024-27306 Chainguard Updated 5 November 2026
  • CGA-r5xx-fq83-f7jc
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-r9f3-gfrq-p3p2
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-rf82-w8hr-57vw
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-wfw5-2p8g-vf39
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-wh52-gp5f-h9gv
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-x2h3-9cqm-h7m3
    CVE-2024-27306 Chainguard Updated 5 November 2026
  • CGA-x6rh-hpmv-h436
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • CGA-xv55-r4q4-hfc5
    CVE-2024-27306 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-27306

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using…

    CVE-2024-27306 Debian Updated 2 November 2026
  • DLA-4041-1

    python-aiohttp - security update

    CVE-2023-47627CVE-2023-47641CVE-2023-49081CVE-2023-49082 Debian Updated 20 November 2026
  • GHSA-7gpw-8wmc-pm8g

    aiohttp Cross-site Scripting vulnerability on index pages for static file handling

    Moderate CVE-2024-27306 PyPI Updated 10 September 2026
  • OESA-2025-1250

    python-aiohttp security update

    High CVE-2023-47627CVE-2023-49082CVE-2024-23334CVE-2024-23829 openEuler Updated 18 August 2026
  • OESA-2025-1271

    python-aiohttp security update

    High CVE-2024-23334CVE-2024-27306CVE-2024-30251 openEuler Updated 18 August 2026
  • OESA-2025-1272

    python-aiohttp security update

    High CVE-2024-23334CVE-2024-27306CVE-2024-30251 openEuler Updated 18 August 2026
  • PYSEC-2026-1102

    aiohttp Cross-site Scripting vulnerability on index pages for static file handling

    CVE-2024-27306 PyPI Updated 7 July 2026
  • RHSA-2024:3781

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2023-45288CVE-2023-45290CVE-2023-49083CVE-2023-50447 Red Hat Updated 24 November 2026
  • RHSA-2024:5662

    Red Hat Security Advisory: Satellite 6.15.3 Security Update

    CVE-2024-24680CVE-2024-27306CVE-2024-27351CVE-2024-28219 Red Hat Updated 13 November 2026
  • RHSA-2025:1335

    Red Hat Security Advisory: RHUI 4.11 security, bugfix, and enhancement update

    CVE-2024-1135CVE-2024-26130CVE-2024-27306CVE-2024-30251 Red Hat Updated 24 November 2026
  • SUSE-SU-2024:1866-1

    Security update for python-aiohttp

    CVE-2024-27306 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:4396-1

    Security update for python-aiohttp

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

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using…

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

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using…

    CVE-2024-27306 Ubuntu Updated 5 February 2026
  • USN-7642-1

    python-aiohttp vulnerabilities

    CVE-2023-47627CVE-2023-49081CVE-2023-49082CVE-2024-23829 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:13965-1

    python310-aiohttp-3.9.5-2.1 on GA media

    CVE-2024-27306 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