SB20261109208 - OS Command Injection in py3-virtualenv



SB20261109208 - OS Command Injection in py3-virtualenv

Published: November 9, 2026

Security Bulletin ID SB20261109208
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) OS Command Injection (CVE-ID: CVE-2026-113726)

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows an unprivileged local attacker to execute arbitrary commands with the privileges of a user activating a virtual environment.

The vulnerability exists due to insufficient escaping of environment names in virtualenv's bash activation script when zsh expands PS1 with the non-default PROMPT_SUBST option enabled. An unprivileged local attacker can influence the environment directory name or prompt value to inject commands that execute whenever the prompt is displayed after the victim sources bin/activate.


Remediation

Install update from vendor's website.