Security readout for executives and security teams
Plain-English summary
CVE-2026-22702 affects virtualenv before 20.36.1. A local, low-privileged attacker could exploit a race condition during directory creation to redirect some virtualenv app data or lock file operations through symlinks. Business urgency is moderate because exploitation requires local access and timing, but developer workstations and shared build hosts should be updated.
Executive priority
Treat as a routine but timely dependency update. It is not a remote code execution issue based on provided sources, but shared build and developer systems should be prioritized because local privilege boundaries matter there.
Technical view
The issue is a TOCTOU flaw involving directory existence checks and creation in virtualenv. Sources describe symlink-based attacks affecting app_data and lock file operations. CVSS 3.1 is 4.5 with local attack vector, high attack complexity, low privileges, no user interaction, and limited confidentiality, integrity, and availability impact.
Likely exposure
Systems using pypa virtualenv versions earlier than 20.36.1 are potentially exposed, especially shared development, CI, or build environments where untrusted local users can interact with filesystem locations used by virtualenv.
Exploitation context
The provided sources do not state active exploitation, and the CVE is not marked KEV. Exploitation requires local access, low privileges, and winning a race condition, which raises difficulty. Impact is limited but relevant where shared local access exists.
Researcher notes
Evidence identifies CWE-362 and CWE-59: a race condition enabling symlink-based directory creation redirection. The fix is referenced in pull request 3013 and commit dec4cec5d16edaf83a00a658f32d1e032661cebc. No public exploit status is provided in the source bundle.
Mitigation direction
- Upgrade virtualenv to version 20.36.1 or later.
- Prioritize shared developer, CI, and build systems.
- Review vendor advisory GHSA-597g-3phw-6986 for current guidance.
- Limit untrusted local user access on systems running affected versions.
Validation and detection
- Inventory installed virtualenv versions across developer and build environments.
- Flag virtualenv versions earlier than 20.36.1.
- Confirm package managers or dependency manifests resolve to 20.36.1 or later.
- Check shared hosts for untrusted local user access.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-362: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCWE-59: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2026-22702 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 4.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L13.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
4.5MediumVector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/pypa/virtualenv/security/advisories/GHSA-597g-3phw-6986CVE reference · x_refsource_CONFIRM
- https://github.com/pypa/virtualenv/pull/3013CVE reference · x_refsource_MISC
- https://github.com/pypa/virtualenv/commit/dec4cec5d16edaf83a00a658f32d1e032661cebcCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Improper Link Resolution Before File Access ('Link Following')
Improper Link Resolution Before File Access ('Link Following') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
