BIT-virtualenv-2026-113722

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/virtualenv/BIT-virtualenv-2026-113722.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-virtualenv-2026-113722
Aliases
Published
2026-10-29T09:00:38Z
Modified
2026-10-29T10:55:46Z
Summary
virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax
Details

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted interpreter path to distlib ScriptMaker when generating POSIX console scripts. When the path contains a space or produces a shebang longer than 127 bytes, distlib emits a /bin/sh wrapper whose double-quoted interpreter path still expands command substitutions and backticks. An attacker who influences the environment destination can therefore execute commands with the user's privileges when the user later runs a generated launcher; environment creation and activation do not trigger the command. Existing launchers are not repaired by upgrading virtualenv alone and must be regenerated, while a later independent pip installation or upgrade can reintroduce an affected launcher because pip's vendored distlib is unchanged. The virtualenv fix is released in version 21.14.9.

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
0 Unknown introduced version / All previous versions are affected
Fixed
21.14.9

Database specific

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