CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.8) in virtualenv virtualenv. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in virtualenv 21.7.13.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hvirtualenv (PyPI): fixed in 21.7.13Explain CVE-2026-102925 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102925?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102925?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-102925 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| virtualenv:virtualenv | before 21.7.13 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-p58f-9548-mpm2 | PyPI | virtualenv | <21.7.13 | 21.7.13 |
| PYSEC-2026-4013 | PyPI | virtualenv | <21.7.13 | 21.7.13 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13, 14 | python-virtualenv | no fix listed | DEBIAN-CVE-2026-102925 |
| Ubuntu | 14.04:LTS, 16.04:LTS, 18.04:LTS and 3 more | python-virtualenv | no fix listed | UBUNTU-CVE-2026-102925 |
| openSUSE | Tumbleweed | python-virtualenv | 21.14.2-1.1 | openSUSE-SU-2026:11974-1 |
| Azure Linux | 3 | python-virtualenv | 20.36.1-9 | AZL-105675 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Important.
An Important severity flaw was found in virtualenv, a tool for creating isolated Python virtual environments that is bundled as a dependency in a number of Red Hat products, including Red Hat OpenShift AI, Red Hat Enterprise Linux container images, Red Hat Hardened Images, and other Red Hat-delivered components. The generated activate (bash and zsh) and activate.fish scripts place path values that were already escaped by shlex.quote inside an additional quoted context. The surplus quotes can terminate the data-only quoted run, leaving shell metacharacters within a crafted value to be parsed as shell commands: in the bash and zsh scripts a crafted virtual environment path is interpolated when a relocated environment's recorded directory is absent, and in the fish script crafted Tcl or Tk library paths are interpolated into __TCL_LIBRARY__ or __TK_LIBRARY__. When a user sources such an activation script, an attacker who controls the crafted path can execute arbitrary code with the privileges of that user. The flaw was rated Important (CVSS 3.1 score 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), consistent with the upstream severity; exploitation requires local control of the affected path values and user interaction to source the activation script. Red Hat product relationships for this flaw are DELEGATED: the impact described above applies where vulnerable virtualenv versions are bundled, fixes are being pursued through the responsible product components, and components where virtualenv is not present in the shipped artifact are being marked not affected.
Avoid creating, copying, or distributing virtual environments whose path contains characters such as ', `, $, ;, (, or ), and inspect the generated activation script before sourcing one that you did not create; these precautions prevent shell metacharacters embedded in a crafted path from being executed when an activation script is sourced. The upstream project has released a fixed version of virtualenv, so updating to a version that includes the fix (21.7.13 or later, or a product update containing it) also addresses the issue.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.6 | ansible-automation-platform-26/eda-controller-rhel9:1791945282 | Fixed 2026-10-21 | RHSA-2026:87120 |
| Red Hat Ansible Automation Platform 2.6 | ansible-automation-platform-26/lightspeed-chatbot-rhel9:1791978798 | Fixed 2026-10-21 | RHSA-2026:87120 |
| Red Hat Ansible Automation Platform 2.7 | ansible-automation-platform-27/eda-controller-rhel9:1792141010 | Fixed 2026-10-21 | RHSA-2026:87124 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-feature-server-rhel9:1792148523 | Fixed 2026-10-21 | RHSA-2026:87410 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-ta-lmes-job-rhel9:1791553527 | Fixed 2026-10-21 | RHSA-2026:87410 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-feature-server-rhel9:1791863220 | Fixed 2026-10-19 | RHSA-2026:84734 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-kserve-agent-rhel9:1791468381 | Fixed 2026-10-19 | RHSA-2026:84734 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-kserve-controller-rhel9:1791468368 | Fixed 2026-10-19 | RHSA-2026:84734 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-kserve-router-rhel9:1791468401 | Fixed 2026-10-19 | RHSA-2026:84734 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-kserve-storage-initializer-rhel9:1790958549 | Fixed 2026-10-19 | RHSA-2026:84734 |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ansible-dev-tools-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/ansible-dev-tools-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/controller-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/ansible-devspaces-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/ansible-dev-tools-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/controller-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | python3.11-virtualenv | Not affected | |
| Red Hat Ansible Automation Platform 2 | python3.12-virtualenv | Affected | |
| 32 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-102925.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.