Skip to main content

Windows Subsystem for Linux EUVDEUVD-2026-44280

| CVE-2026-57973 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-07-14 microsoft GHSA-32j5-g8f9-jjh7
4.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged local user
  2. Delivery
    Launch WSL2 process targeting vulnerable TOCTOU path
  3. Exploit
    Race between security check and resource use
  4. Execution
    Swap symlink or file reference mid-operation
  5. Persist
    Write to restricted file system location
  6. Impact
    Plant or overwrite privileged-path binary

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

The attacker must have an interactive or scripted local session on the target Windows host and must be an authorized user with permission to launch WSL2 processes (PR:L). The race condition is only reachable through WSL2's virtualization layer, so WSL2 must be installed and the attacker's account must not be restricted from using it. High attack complexity (AC:H) means exploitation requires precise timing across the check-use window; a single attempt is unlikely to succeed and automated, mass exploitation is not feasible per the SSVC Automatable:no assessment. Exploitation is limited by: (1) local-only access vector - no remote exploitation path exists; (2) requirement to win a timing race, making reliable exploitation difficult without repeated attempts or dedicated tooling; (3) scope unchanged (S:U) - compromise is bounded to the local WSL2 instance and host file resources accessible to the attacker's session. Confidentiality is not impacted; only integrity (file tampering) is at risk.

Impact

The CVSS 3.1 score of 4.7 (Medium) with vector AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N reflects that exploitation is constrained to local access with low privileges and requires high attack complexity to time the race condition successfully. EPSS at 0.16% (5th percentile) strongly supports that mass or automated exploitation is unlikely. SSVC assessment flags Exploitation: none and Automatable: no, consistent with AC:H - an attacker cannot reliably chain this into a scalable campaign. However, SSVC also rates Technical Impact: total, indicating that a successfully triggered race yields disproportionate integrity consequences relative to the medium CVSS score. The tags include 'Information Disclosure,' which conflicts with the CVSS C:N metric; this appears to be a mis-tagging in the intelligence feed, since the description and CVSS both describe tampering (integrity), not data exfiltration. The absence from CISA KEV and a very low EPSS together indicate this is not under active exploitation. Real-world priority is moderate: patch in routine cycles rather than emergency response, but prioritize environments where WSL2 users have access to sensitive host file paths.

Exploit ScenarioDerived

A low-privileged local user on a Windows system with WSL2 installed launches a crafted process that races against a WSL2 internal file-system operation - for example, repeatedly substituting a symlink target between the moment WSL2's security check resolves a path and the moment the kernel acts on it. If the attacker wins the race, they overwrite or corrupt a file they would normally lack write permission to, potentially planting a malicious binary in a path that a higher-privileged WSL2 process or Windows service will later execute. No public proof-of-concept has been identified, and the high attack complexity means reliable exploitation requires careful timing, typically using tools that can pin threads or manipulate OS scheduling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Tampering via a time-of-check time-of-use (TOCTOU) race condition in Windows Subsystem for Linux 2 (WSL2) enables a locally authorized, low-privileged attacker to manipulate file system or resource state between the moment a security check is performed and the moment the resource is actually used. Affected versions run below 2.7.10, and Microsoft has released a fix. No public exploit code has been identified and CISA has not added this to the KEV catalog, but the SSVC framework assesses technical impact as total if the race is won, making the integrity risk significant despite a medium CVSS score.

RemediationAI

The primary fix is to upgrade Windows Subsystem for Linux 2 to version 2.7.10 or later, as released by Microsoft and documented at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-57973. WSL2 can be updated via the Microsoft Store (if installed from there) or by running 'wsl --update' from an elevated command prompt followed by 'wsl --shutdown' and restarting the subsystem. As a compensating control where immediate patching is not possible, administrators can restrict which users are permitted to run WSL2 instances via AppLocker or Windows Defender Application Control policies - this does not eliminate the vulnerability but limits the pool of potential attackers to those already holding elevated access, narrowing real-world risk. Disabling WSL2 entirely ('wsl --set-default-version 1' or removing the WSL2 optional feature) eliminates the attack surface at the cost of losing Linux kernel compatibility; WSL1 is not confirmed affected by this specific TOCTOU path. No patch version conflict with WSL1 is expected.

Affected VersionsENISA

Windows Subsystem for Linux (WSL2) 5.0.0.0 <2.7.10

Affected Packages

euvd windows_subsystem_for_linux_wsl2 fix: 2.7.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WSL2 (cpe:2.3:a:microsoft:windows_subsystem_for_linux_(wsl2):*:*:*:*:*:*:*:*) is Microsoft's virtualization-based Linux compatibility layer, running a real Linux kernel inside a lightweight Hyper-V utility VM. CWE-367 (TOCTOU Race Condition) describes the class of defect where a program reads a resource's state to make a security or access decision, then acts on the resource in a separate, non-atomic operation - leaving a window in which another thread or process can swap the resource's identity or content. In WSL2's architecture, the interplay between the Windows NT object manager, the Plan 9 file-system protocol (9P) used for host filesystem bridging, and the Linux VFS layer creates multiple TOCTOU-susceptible boundaries. The high attack complexity (AC:H) in the CVSS vector reflects that winning the race requires precise timing, often demanding repeated attempts or specialized tooling to reliably exploit.

Know when Windows Subsystem For Linux Wsl2 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (microsoft) PRIMARY MEDIUM
NVD 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 4.7 MEDIUM

Local-only TOCTOU race requires low privileges and precise timing (AC:H); tampering yields high integrity impact with no confidentiality or availability effect.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Jul 20, 2026 - 18:52 NVD
6.3 (MEDIUM) 4.7 (MEDIUM)
CVE Published
Jul 14, 2026 - 17:09 nvd
MEDIUM 4.7
CVE Published
Jul 14, 2026 - 17:09 nvd
MEDIUM 6.3

DescriptionNVD

Time-of-check time-of-use (toctou) race condition in Windows Subsystem for Linux allows an authorized attacker to perform tampering locally.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
developer-focused Windows feature, not universally deployed in enterprise
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy