BIT-virtualenv-2026-115586

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/virtualenv/BIT-virtualenv-2026-115586.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-virtualenv-2026-115586
Aliases
Published
2026-10-29T09:00:47Z
Modified
2026-10-29T10:55:32Z
Summary
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)
Details

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.

Database specific
{
    "cpes":  [
        "cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:python:*:*"
    ],
    "severity":  "High"
}
References

Affected packages

Bitnami / virtualenv

Package

Name
virtualenv
Purl
pkg:bitnami/virtualenv

Severity

  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
21.14.9
Fixed
21.14.13

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/virtualenv/BIT-virtualenv-2026-115586.json"