---
cve: "CVE-2026-22702"
severity: "MEDIUM"
cvss: 4.5
epss: "9%"
vendor: "pypa"
kev: false
exploited: false
published: "2026-01-10 07:16:02"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T09:13:51+02:00"
---

# CVE-2026-22702

> 4.5 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Hoch | good |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Gering | warn |

## Patch verfügbar (OSV)

- d0ad11d1146e81ea74d2461be9653f1da9cf3fd1 (Commit)
- dec4cec5d16edaf83a00a658f32d1e032661cebc (Commit)

## Referenzen

- <https://github.com/pypa/virtualenv/security/advisories/GHSA-597g-3phw-6986>
- <https://github.com/pypa/virtualenv/pull/3013>
- <https://github.com/pypa/virtualenv/commit/dec4cec5d16edaf83a00a658f32d1e032661cebc>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-22702) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
