4.5

CVE-2026-22702: virtualenv Has TOCTOU Vulnerabilities in Directory Creation

Analyzed
AliasesSUSE-SU-2026:0233-1SUSE-SU-2026:20129-1GHSA-597g-3phw-6986
Published 10-01-2026Last modified 12-01-2026

Vulnerability summary

CVE-2026-22702 is a medium (CVSS 4.5) vulnerability in pypa virtualenv. EPSS estimates a 0.10% chance of exploitation in the next 30 days, higher than 0.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.10%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 10-01-2026
    PublishedVulnerability first disclosed.
  2. 12-01-2026
    Last modifiedVulnerability information updated.

Description

virtualenv is a tool for creating isolated virtual python environments. Prior to version 20.36.1, TOCTOU (Time-of-Check-Time-of-Use) vulnerabilities in virtualenv allow local attackers to perform symlink-based attacks on directory creation operations. An attacker with local access can exploit a race condition between directory existence checks and creation to redirect virtualenv's app_data and lock file operations to attacker-controlled locations. This issue has been patched in version 20.36.1.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.10%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.10% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse3 products
  • python-virtualenv&distro=SUSE Linux Enterprise Module for Python 3 15 SP7< 20.22.0-150400.9.9.1
  • python-virtualenv&distro=SUSE Linux Enterprise Server 16.0< 20.29.3-160000.3.1
  • python-virtualenv&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 20.29.3-160000.3.1
Chainguard2 products
  • py3-cassandra-medusa< 0.27.0-r2
  • request-1276< 0.27.0-r4
Opensuse2 products
  • python-virtualenv&distro=openSUSE Leap 15.6< 20.22.0-150400.9.9.1
  • python-virtualenv&distro=openSUSE Leap 16.0< 20.29.3-160000.3.1
Debian1 product
  • python-virtualenvAll versions (No fix recorded) | < 20.31.2+ds-1+deb13u1 | < 20.36.1+ds-1
Pypa1 product
PyPI1 product
  • virtualenv< 20.36.1
Ubuntu1 product
  • python-virtualenvAll versions (No fix recorded)
Virtualenv1 product
Wolfi1 product
  • py3-cassandra-medusa< 0.27.0-r2

9 vendors · 13 products

References

15 links
Show all 15 references