Vulnerabilities

Security fix · CVE-2026-22702

virtualenv is a tool for creating isolated virtual python environments.

Published Jan 10, 2026 · catalog updated Jan 12, 2026 · virtualenv is a tool

Last checked Nov 3, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2026-22702. EPSS is 0.10%. Act only if a listed version of virtualenv is a tool is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (virtualenv is a tool).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Medium4.5
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.10%
Remediation
Version ranges on file
Affected products
vendor pypa virtualenv < 20.36.1

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor pypa virtualenv < 20.36.1< 20.36.1

How to fix CVE-2026-22702

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-22702. EPSS is 0.10%. Act only if a listed version of virtualenv is a tool is installed.

Which versions are affected?

Compare what you have installed with pypa virtualenv < 20.36.1 < 20.36.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.10%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Jan 10, 2026 · EUVD

    Detected

    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 loc

  2. Jan 12, 2026 · EUVD

    Updated

    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 loc

Sources

  • CVE.orgVulnerability recordCVE-2026-22702

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-22702

    30-day exploitation probability 0.10%

    first.org
  • EUVDVulnerability recordEUVD-2026-1869

    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 acces

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Nov 3, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSNov 3, 2026
  • CVE.orgOct 31, 2026
  • EUVDOct 30, 2026