ADVISORIES

Vulnerability

CVE-2024-9287

A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie "./venv/bin/python") are not affected.

87 advisories report this vulnerability, across 15 ecosystems.

Advisories in SUSE

  • SUSE-SU-2024:3760-1

    Security update for python3

    CVE-2024-9287 SUSE Updated 4 February 2026
  • SUSE-SU-2024:3879-1

    Security update for python3

    CVE-2024-9287 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:3929-1

    Security update for python36

    CVE-2024-9287 SUSE Updated 4 February 2026
  • SUSE-SU-2024:3944-1

    Security update for python3

    CVE-2024-9287 SUSE Updated 4 February 2026
  • SUSE-SU-2024:3945-1

    Security update for python39

    CVE-2024-9287 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:3957-1

    Security update for python311

    CVE-2024-9287 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:3958-1

    Security update for python311

    CVE-2024-9287 SUSEopenSUSE Updated 2 May 2025
  • SUSE-SU-2024:3959-1

    Security update for python312

    CVE-2024-9287 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:0048-1

    Security update for python312

    CVE-2024-9287 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:02074-1

    Security update for python313

    CVE-2024-12254CVE-2024-12718CVE-2024-9287CVE-2025-0938 SUSE Updated 4 February 2026
  • SUSE-SU-2025:20154-1

    Security update for python311

    CVE-2019-20907CVE-2019-9947CVE-2020-15523CVE-2020-15801 SUSE Updated 23 March 2026
  • SUSE-SU-2025:20374-1

    Security update for python311

    CVE-2022-25236CVE-2023-27043CVE-2023-52425CVE-2023-6597 SUSE Updated 23 March 2026
  • SUSEVEX-CVE-2024-9287

    A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual…

    Moderate CVE-2024-9287 SUSE Updated 26 November 2026

References