BIT-virtualenv-2026-113776

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/virtualenv/BIT-virtualenv-2026-113776.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-virtualenv-2026-113776
Aliases
Published
2026-10-29T09:00:46Z
Modified
2026-10-29T10:55:59Z
Summary
virtualenv activation scripts run code from a path that contains a placeholder name
Details

virtualenv is a tool for creating isolated virtual python environments. From 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger names such as VIRTUAL_NAME, VIRTUAL_ENV, or VIRTUAL_PROMPT inside an already substituted and quoted environment path or prompt can be replaced during a later pass. The later value's quoting can close the earlier literal and execute the remaining path when a user activates the environment through bash, fish, xonsh, or activate_this.py. The distinct csh prompt-display token VIRTUAL_PROMPT_DISPLAY_TCSH can instead break the generated script without establishing command execution. The attacker must influence the destination path or --prompt, and a value without a relevant placeholder name does not trigger this mechanism. This issue is fixed in version 21.14.2.

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.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
20.26.6
Fixed
21.14.2

Database specific

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