OESA-2026-5118

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-5118
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-5118.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-5118
Upstream
Published
2026-11-26T12:12:42Z
Modified
2026-12-01T05:45:21Z
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. From 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger names such as VIRTUAL_NAME, VIRTUAL_ENV, or VIRTUAL_PROMPT inside an already substituted and quoted environment path or prompt can be replaced during a later pass. The later value's quoting can close the earlier literal and execute the remaining path when a user activates the environment through bash, fish, xonsh, or activate_this.py. The distinct csh prompt-display token VIRTUAL_PROMPT_DISPLAY_TCSH can instead break the generated script without establishing command execution. The attacker must influence the destination path or --prompt, and a value without a relevant placeholder name does not trigger this mechanism. This issue is fixed in version 21.14.2.(CVE-2026-113776)

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

Affected packages

openEuler:24.03-LTS-SP1 / python-virtualenv

Package

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

Affected ranges

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

Ecosystem specific

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

Database specific

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