OS Command Injection Affecting python-virtualenv package, versions <0:15.1.0-4.amzn2.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.28% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-PYTHONVIRTUALENV-22387241
  • published10 Nov 2026
  • disclosed20 Oct 2026

Introduced: 20 Oct 2026

CVE-2026-113725  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-virtualenv to version 0:15.1.0-4.amzn2.0.1 or higher.
This issue was patched in ALAS2-2026-4085.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-virtualenv package and not the python-virtualenv package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing $(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.

CVSS Base Scores

version 3.1