OESA-2026-4906

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-4906
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-4906.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-4906
Upstream
Published
2026-11-19T01:42:54Z
Modified
2026-11-19T02:00:07Z
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
Summary
python-virtualenv security update
Details

Virtualenv is a tool to create isolated Python environments. Since Python 3.3, a subset of it has been integrated into the standard library under the venv module. Note though, that the venv module does not offer all features of this library (e.g. cannot create bootstrap scripts, cannot create virtual environments for other python versions than the host python, not relocatable, etc.). Tools in general as such still may prefer using virtualenv for its ease of upgrading (via pip), unified handling of different Python versions and some more advanced features.

Security Fix(es):

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.13.0, the bash activate script that zsh also sources leaves the environment name unescaped; from 21.13.0 until 21.14.4, it escapes backslashes, dollar signs, and backticks only when BASH_VERSION is set, so zsh receives the raw value. The script assigns that value to PS1. In zsh with PROMPT_SUBST, an attacker-influenced environment directory, --prompt, or VIRTUALENV_PROMPT value containing command, parameter, or arithmetic expansion syntax can therefore execute commands in the user's shell each time the prompt is drawn. A percent sign is separately interpreted as a zsh prompt escape but does not by itself execute commands. Plain zsh with PROMPT_SUBST disabled and bash are not affected by this mechanism. This issue is fixed in version 21.14.4.(CVE-2026-113726)

Database specific
{
    "severity":  "High"
}
References

Affected packages

openEuler:24.03-LTS-SP4 / python-virtualenv

Package

Name
python-virtualenv
Purl
pkg:rpm/openEuler/python-virtualenv&distro=openEuler-24.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
20.26.6-3.oe2403sp4

Ecosystem specific

{
    "noarch":  [
        "python3-virtualenv-20.26.6-3.oe2403sp4.noarch.rpm"
    ],
    "src":  [
        "python-virtualenv-20.26.6-3.oe2403sp4.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-4906.json"