p PatchFirst

CVE-2026-115586

CVE-2026-115586 · 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)

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

CVSS 7.1 · Hoch · EPSS 0,2% · Öffentlicher Exploit · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system · python

Betroffene Produkte und Versionen

  • virtualenv

    Softwareversionen
    • >= 21.14.9, < 21.14.13: Betroffen

    Keine Korrektur veröffentlicht

  • virtualenv PyPI

    Softwareversionen
    • 21.14.10
    • 21.14.11
    • 21.14.12
    • 21.14.9
    Betroffene Versionsbereiche
    • ECOSYSTEM: ≥ 21.14.9, < 21.14.13

    Auf 21.14.13 aktualisieren

  • python-virtualenv Ubuntu:14.04:LTS

    Softwareversionen
    • 1.10.1-1
    • 1.11-1
    • 1.11-2
    • 1.11.4-1
    • 1.11.4-1ubuntu1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-virtualenv Ubuntu:16.04:LTS

    Softwareversionen
    • 1.11.6+ds-1
    • 14.0.5+ds-1
    • 14.0.5+ds-2
    • 14.0.5+ds-4
    • 15.0.0+ds-1
    • 15.0.0+ds-2
    • 15.0.1+ds-1
    • 15.0.1+ds-2
    • 15.0.1+ds-3
    • 15.0.1+ds-3ubuntu1
    • 15.0.1+ds-3ubuntu1.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-virtualenv Ubuntu:18.04:LTS

    Softwareversionen
    • 15.1.0+ds-1
    • 15.1.0+ds-1.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-virtualenv Ubuntu:Pro:20.04:LTS

    Softwareversionen
    • 15.1.0+ds-2
    • 15.1.0+ds-2build1
    • 15.1.0+ds-2ubuntu1
    • 20.0.13-1
    • 20.0.17-1
    • 20.0.17-1ubuntu0.3
    • 20.0.17-1ubuntu0.4
    • 20.0.17-1ubuntu0.4+esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-virtualenv Ubuntu:Pro:22.04:LTS

    Softwareversionen
    • 20.4.6+ds-2
    • 20.10.0+ds-1
    • 20.12.1+ds-1
    • 20.13.0+ds-1
    • 20.13.0+ds-2
    • 20.13.0+ds-2ubuntu0.1~esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-virtualenv Ubuntu:Pro:24.04:LTS

    Softwareversionen
    • 20.24.1+ds-1
    • 20.24.6+ds-1
    • 20.24.6+ds-2
    • 20.25.0+ds-1
    • 20.25.0+ds-2
    • 20.25.0+ds-2ubuntu0.1~esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-virtualenv Ubuntu:26.10

    Softwareversionen
    • 20.36.1+ds-1
    • 21.4.1+ds-1
    • 21.5.1+ds-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-virtualenv Ubuntu:26.04:LTS

    Softwareversionen
    • 20.31.2+ds-1
    • 20.35.3+ds-1
    • 20.35.4+ds-1
    • 20.36.1+ds-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →