ADVISORIES

Vulnerability

CVE-2026-115586

virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or backticks when both promptvars and POSIX mode are disabled during activation. Re-enabling promptvars, running set -o posix, or starting an interactive child bash that inherits the exported PS1 can then expand command substitution in the stored VIRTUAL_ENV_PROMPT value and execute commands as the user who activates the environment. This issue is fixed in version 21.14.13.

21 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • ALAS2-2026-4085

    Amazon Linux 2 2017.12 - ALAS2-2026-4085: important priority package update for python-virtualenv

    Important CVE-2026-113723CVE-2026-113725CVE-2026-113726CVE-2026-115586 Amazon Linux Updated 9 November 2026
  • ALAS2023-2026-3409

    Amazon Linux 2023 - ALAS2023-2026-3409: Important priority package update for python-virtualenv

    Important CVE-2026-113715CVE-2026-113722CVE-2026-113723CVE-2026-113725 Amazon Linux Updated 9 November 2026
  • ALAS2023-2026-3410

    Amazon Linux 2023 - ALAS2023-2026-3410: Important priority package update for python3.13-virtualenv

    Important CVE-2026-113715CVE-2026-113722CVE-2026-113723CVE-2026-113725 Amazon Linux Updated 9 November 2026
  • CGA-743v-9hm7-cr5g
    CVE-2026-115586 Chainguard Updated 27 October 2026
  • CGA-8638-36cm-58fv
    CVE-2026-115586 Chainguard Updated 28 October 2026
  • CGA-9wqm-jxh9-qfv4
    CVE-2026-115586 Chainguard Updated 5 November 2026
  • CGA-cpr8-q37x-x53w
    CVE-2026-115586 ChainguardWolfi Updated 29 October 2026
  • CGA-gh55-4hpp-r2v6
    CVE-2026-115586 Chainguard Updated 5 November 2026
  • CGA-gv44-7v84-75hw
    CVE-2026-115586 Chainguard Updated 27 October 2026
  • CGA-hxqh-wf29-q8mj
    CVE-2026-115586 Chainguard Updated 29 October 2026
  • CGA-phgv-wq38-qq3v
    CVE-2026-115586 Chainguard Updated 5 November 2026
  • CGA-qw74-c5cg-466g
    CVE-2026-115586 Chainguard Updated 28 October 2026
  • CGA-rc9m-8g8x-3mf8
    CVE-2026-115586 Chainguard Updated 5 November 2026
  • CGA-rjjp-x496-j9c3
    CVE-2026-115586 Chainguard Updated 28 October 2026
  • CGA-rmjh-pg37-6mvf
    CVE-2026-115586 Chainguard Updated 27 October 2026
  • CGA-x99m-c96r-9v5q
    CVE-2026-115586 ChainguardWolfi Updated 30 October 2026
  • CGA-xw99-2xfr-cxg2
    CVE-2026-115586 Chainguard Updated 28 October 2026
  • GHSA-cx6f-vjhg-g3cc

    virtualenv: Bash activator leaves the --prompt value unescaped in PS1 when promptvars is off, so prompt expansion later executes it (regression in 21.14.9)

    High CVE-2026-115586 PyPI Updated 29 October 2026
  • SUSEVEX-CVE-2026-115586

    virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or…

    Important CVE-2026-115586 SUSEopenSUSE Updated 10 November 2026
  • UBUNTU-CVE-2026-115586

    virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or…

    CVE-2026-115586 Ubuntu Updated 24 November 2026
  • openSUSE-SU-2026:12372-1

    python313-virtualenv-21.15.1-1.1 on GA media

    CVE-2026-113714CVE-2026-113716CVE-2026-113718CVE-2026-113720 openSUSE Updated 31 October 2026

References