3 matches found
CVE-2026-113726
A flaw was found in virtualenv. When an environment activation script is sourced in the Z shell zsh, prompt values such as the environment name are not properly escaped. An attacker who convinces a user to activate a virtual environment with a maliciously crafted directory name or prompt...
CVE-2026-102938 virtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.11, PyEnvCfg.write writes prompt values verbatim to the line-oriented pyvenv.cfg format while PyEnvCfg.readvalues parses the file with str.splitlines and accepts the last value for duplicate keys. An attacker wh...
CVE-2026-102938
The virtualenv tool, used for creating isolated Python environments, is vulnerable to configuration injection in versions prior to 21.7.11 . The root cause is that PyEnvCfg.write() writes prompt values verbatim to the pyvenv.cfg format, while PyEnvCfg._read_values() parses this file using str.spl...