PatchSiren

pypa CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH pypa CVE published 2026-10-23

CVE-2026-115586

The virtualenv bash activator improperly handles the --prompt value when promptvars is off, allowing for command execution as the user who sources bin/activate. This issue was introduced in version 21.14.9 and fixed in version 21.14.13. The vulnerability arises from the bash activator putting the caller-supplied prompt value into PS1 unescaped, which can lead to command execution when prompt expansion is re-enabled or in an interactive child bash. Defenders should assess exposure, prioritize verification and remediation, and monitor for suspicious activity.

HIGH pypa CVE published 2026-10-20

CVE-2026-113726

A vulnerability in the virtualenv package allows for command execution in zsh when activating a virtual environment with a specially crafted name and the PROMPT_SUBST option enabled. This occurs because the script puts the environment name into PS1 without proper escaping when BASH_VERSION is not set. As a result, a zsh user can be affected by running a virtual environment with a name that contains $(...), backticks, or ${...} and the PROMPT_SUBST option is set. The vulnerability can be triggered by creating an environment with a malicious name, such as 'x$(touch PWNED)y', and then activating it in a zsh session with PROMPT_SUBST set, which creates 'PWNED' and shows the prompt '(xy

HIGH pypa CVE published 2026-10-20

CVE-2026-113776

CVE-2026-113776 debrief based on the supplied source corpus. The CVE record was published on 2026-10-21T16:39:38.000Z and has not been modified since then. The vulnerability in virtualenv activation scripts allows code execution when a user activates a virtual environment with a specially crafted path. This can lead to unauthorized access or privilege escalation. Defenders should assess exposure and prioritize remediation, particularly in environments where user activation of virtual environments is common.

HIGH pypa CVE published 2026-10-20

CVE-2026-113732

CVE-2026-113732 is a vulnerability in the virtualenv package, specifically in the `activate.fish` script. The vulnerability occurs when a backslash is used before a quote in a path or prompt, allowing an attacker to execute arbitrary commands. The vulnerability is triggered when the `activate.fish` script is sourced, and it can be exploited by creating a directory with a specially crafted name. The vulnerability has been fixed in version 21.14.2 of the virtualenv package.

HIGH pypa CVE published 2026-10-20

CVE-2026-113725

CVE-2026-113725 is a high-severity vulnerability in the virtualenv tool, which allows for command execution in the user's shell when activating a virtual environment with a specially crafted name. The issue arises from the bash activate script not properly escaping the environment name, enabling an attacker to inject malicious commands. This CVE was published on 2026-10-20T19:56:52.195Z and was last modified on 2026-10-21T15:52:26.038Z.

MEDIUM pypa CVE published 2026-10-20

CVE-2026-113724

PatchSiren debrief for CVE-2026-113724: virtualenv's permission recovery after a filesystem deletion error can change a symlink target's mode, potentially affecting users with specific deployment contexts. The issue arises from the safe_delete() function's error handler, which obtains permission bits with lstat() but applies them through chmod(), following symlinks. This can change permissions outside the destination. Defenders and users of virtualenv, especially in environments where symbolic links are used, should assess exposure and prioritize remediation. The CVE record was published on 2026-10-21T21:31:34.000Z and has not been modified since then. The safe_delete() function in

HIGH pypa CVE published 2026-10-20

CVE-2026-113723

CVE-2026-113723 debrief: virtualenv Bash prompt vulnerability allows code execution under specific conditions. The vulnerability exists in the Bash activation script of virtualenv, where user-supplied prompt text can be interpreted as executable syntax under older Bash compatibility modes. This issue is specific to POSIX activation and Bash runs with compatibility level 4.2. Defenders should assess exposure in Bash environments with compatibility level 4.2, verify the 21.14.9 upgrade, and monitor for suspicious prompt behavior. The vulnerability allows an attacker to influence the prompt text and potentially execute code when a user activates the environment and draws the prompt.

MEDIUM pypa CVE published 2026-10-20

CVE-2026-113721

CVE-2026-113721 debrief: Anthropic's OSS Scanner reported a vulnerability in virtualenv, where generated activation files and pyvenv.cfg can follow existing links and write outside the requested environment. This vulnerability can potentially lead to security issues if not addressed. Defenders should prioritize verifying and updating virtualenv to version 21.14.9 or later, and review their environments for potential exposure. The vulnerability is related to the template writer and configuration writer in virtualenv, which can write outside the requested environment. The affected code is in the template writer and configuration writer. The CVE record was published on 2026-10-22T17:

MEDIUM pypa CVE published 2026-10-20

CVE-2026-113720

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-10-23T22:23:11.000Z and has not been modified since then. The vulnerability in virtualenv allows seeded files to retain permissions from an older cache, potentially leading to wider access in later environments. This occurs because the app-data copy seeder uses shutil.copy, which preserves cached file modes independently of the current umask. A cache populated under permissive permissions can therefore produce files with wider access in later environments.

LOW pypa CVE published 2026-10-20

CVE-2026-113715

The CVE record was published on 2026-10-23T22:20:43.000Z and has not been modified since then. The vulnerability in virtualenv's venv configuration readback can lead to potential configuration manipulation if an untrusted caller influences the destination pathname passed to the venv creator. Defenders should prioritize verifying the patch status of virtualenv environments, especially those created with untrusted caller-influenced destination pathnames, and assess exposure in their deployment contexts. The vulnerability involves the venv creator in virtualenv reading the standard library's generated pyvenv.cfg with splitlines() and merging all resulting keys over virtualenv's The

MEDIUM pypa CVE published 2026-10-20

CVE-2026-113719

PatchSiren debrief for CVE-2026-113719 based on the supplied source corpus. The vulnerability affects virtualenv, allowing potential unauthorized deletion of package metadata paths and possible elevation of privileges through malicious distribution metadata. Affected environments require verification and patching to version 21.14.9. Defenders should assess exposure and prioritize patching, especially where users have deletion rights over package metadata paths. The CVE record and source item provide details on the vulnerability in virtualenv, specifically in the app-data seeder.

LOW pypa CVE published 2026-10-20

CVE-2026-113714

A vulnerability in virtualenv allows for potential malicious package indexes to inject lines through discarded links, affecting the download and verification process of wheels. This issue arises because wheel downloads are directly placed into a reusable wheelhouse, while verification targets are selected from pip's textual output. If a verification failure occurs, the downloaded file remains in the cache. The vulnerability is addressed in version 21.14.9.

MEDIUM pypa CVE published 2026-10-20

CVE-2026-113713

The CVE-2026-113713 vulnerability involves a security concern with virtualenv's app-data seeder, which can leave environments linked to temporary package files that are deleted when creation finishes. This issue arises when symlink seeding is enabled via VIRTUALENV_SYMLINK_APP_DATA or symlink_app_data in configuration files, and app-data setup falls back to a temporary directory. The affected product is virtualenv, and the vulnerability class is related to integrity issues with app-data references after temporary cache cleanup. The likely operational impact includes defenders verifying exposure, especially in shared temporary-directory parent scenarios, and remediating through ...

MEDIUM pypa CVE published 2026-07-08

CVE-2026-59890

The CVE record was published on 2026-07-08T17:17:27.020Z and has not been modified since then. The NVD entry is currently Awaiting Analysis. This MEDIUM severity vulnerability affects setuptools, a package for downloading, building, installing, upgrading, and uninstalling Python packages. The vulnerability allows an NFD file name to bypass an NFC exclusion rule and be packed into a source distribution on macOS APFS or HFS+. The issue is fixed in version 83.0.0.