CVSS 3.1
4.5 mediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LMedium (4.5) in virtualenv virtualenv. EPSS 0.1% estimated probability of exploitation activity in the next 30 days. Fixed in virtualenv 20.36.1.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:Lvirtualenv (PyPI): fixed in 20.36.1Explain CVE-2026-22702 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-22702?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-22702?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-22702 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 20.36.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-597g-3phw-6986 | PyPI | virtualenv | <20.36.1 | 20.36.1 |
| PYSEC-2026-2009 | PyPI | virtualenv | <20.36.1 | 20.36.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | python-virtualenv | no fix listed | DEBIAN-CVE-2026-22702 |
| Debian | 13 | python-virtualenv | 20.31.2+ds-1+deb13u1 | DEBIAN-CVE-2026-22702 |
| Debian | 14 | python-virtualenv | 20.36.1+ds-1 | DEBIAN-CVE-2026-22702 |
| Ubuntu | 14.04:LTS, 16.04:LTS, 18.04:LTS and 5 more | python-virtualenv | no fix listed | UBUNTU-CVE-2026-22702 |
| SUSE | Linux Enterprise Module for Python 3 15 SP7 | python-virtualenv | 20.22.0-150400.9.9.1 | SUSE-SU-2026:0233-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | python-virtualenv | 20.29.3-160000.3.1 | SUSE-SU-2026:20129-1 |
| openSUSE | Leap 15.6 | python-virtualenv | 20.22.0-150400.9.9.1 | SUSE-SU-2026:0233-1 |
| openSUSE | Leap 16.0 | python-virtualenv | 20.29.3-160000.3.1 | openSUSE-SU-2026:20086-1 |
| openSUSE | Tumbleweed | python-virtualenv | 20.36.1-1.1 | openSUSE-SU-2026:10055-1 |
| Azure Linux | 2 | python-virtualenv | no fix listed | AZL-74210 |
| Azure Linux | 3 | python-virtualenv | 20.36.1-1 | AZL-74237 |
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 · SUSE · openSUSE.
Red Hat rates this Moderate.
This vulnerability is rated Moderate for Red Hat. It affects `virtualenv` and allows a local attacker to perform symlink-based attacks during directory creation. Exploitation requires local access and a race condition, limiting its impact in typical Red Hat deployments.
Given that this vulnerability requires local access and exploits a race condition during directory creation, ensuring that `virtualenv` operations are performed in trusted and controlled environments can reduce the risk. Limiting the execution of `virtualenv` by untrusted users or within sandboxed environments can help mitigate potential information disclosure or data tampering.
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/grafana-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-cni-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-must-gather-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-rhel8-operator | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/pilot-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/proxyv2-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/ratelimit-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ansible-dev-tools-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/ansible-dev-tools-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/eda-controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/hub-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/lightspeed-chatbot-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux 8 | rhel8/python-36 | Fix deferred | |
| Red Hat Enterprise Linux 8 | ubi8/python-36 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-operator-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-operator-controller-rhel9 | Fix deferred | |
| 35 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-22702.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.