Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Windows

Advisory High CVE Analysis

Microsoft PowerShell Relative Path Traversal Vulnerability (CVE-2026-40400)

CVE-2026-40400 is a relative path traversal flaw in Microsoft PowerShell, rated CVSS 3.1 base score 8.0 HIGH by secure@microsoft.com [S1]. The vulnerability affects multiple versions of Windows and PowerShell, with fixed versions available [S1]. The reviewed sources do not report exploitation [S2]. Applying the fixed version listed for each affected product is the general remediation step; the record lists fixed versions [S1].

WindowsOperating systemsVulnerabilities

Key points

  • CVE-2026-40400 is a relative path traversal vulnerability in Microsoft PowerShell and Windows [S1].
  • The CVSS 3.1 score is 8.0 HIGH, with a vector of AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H [S1].
  • The vulnerability affects multiple versions of Windows and PowerShell, with fixed versions available [S1].
  • The reviewed sources do not report exploitation [S2].
  • Applying the fixed version listed for each affected product is the general remediation step; the record lists fixed versions [S1].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-40400MicrosoftPowerShell and WindowsCWE-238.0 HIGH, scored by secure@microsoft.com2026-07-142026-09-17Analyzed

Vulnerability description

A relative path traversal flaw is classified for Microsoft PowerShell (CWE-23) [S1]; the record does not describe what an attacker could reach. The record classifies the flaw as CWE-23 but does not explain how relative path inputs are handled [S1].

Attack surface and exploitation prerequisites

The CVSS vector indicates the vulnerability requires network access (AV:N), low privileges (PR:L), and user interaction (UI:R) [S1]. The sources do not describe how an attacker would trigger the issue [S1].

Impact analysis

The CVSS vector highlights high impact on confidentiality (C:H), integrity (I:H), and availability (A:H) [S1]. The CVSS vector rates confidentiality, integrity and availability impact as high [S1]; the record does not describe specific consequences.

Affected products and versions

Affected ProductFixed Version
Microsoft PowerShell 7.57.5.11
Microsoft PowerShell 7.67.6.6
Microsoft Windows 10 Version 160710.0.14393.9339
Microsoft Windows 10 Version 180910.0.17763.9020
Microsoft Windows 10 Version 21H210.0.19044.7548
Microsoft Windows 10 Version 22H210.0.19045.7548
Microsoft Windows 11 Version 24H210.0.26100.8875
Microsoft Windows 11 Version 25H210.0.26200.8875
Microsoft Windows 11 version 26H110.0.28000.2525
Microsoft Windows Server 20126.2.9200.26226
Microsoft Windows Server 2012 R26.3.9600.23291
Microsoft Windows Server 201610.0.14393.9339
Microsoft Windows Server 201910.0.17763.9020
Microsoft Windows Server 202210.0.20348.5386
Microsoft Windows Server 202510.0.26100.33158

Exploitation and threat intelligence status

CVE-2026-40400 is not listed in the CISA KEV catalog as of 2026-11-21 [S2]. The EPSS score for this vulnerability is 0.87%, indicating a low probability of exploitation in the next 30 days [S4].

Detection and exposure assessment

To check if a system is vulnerable, verify whether the installed version of Microsoft PowerShell or Windows falls within the affected range [S1]. No detection methods are provided by the sources [S1].

Remediation

Microsoft's record lists fixed versions for the listed affected products [S1]. Users should update to the patched version to reduce the risk [S1].

What to do

  1. Update Microsoft PowerShell 7.5 to version 7.5.11 [S1].
  2. Update Microsoft Windows 10 Version 1607 to 10.0.14393.9339 or later [S1].
  3. Update Microsoft Windows 10 Version 1809 to 10.0.17763.9020 or later [S1].
  4. Update Microsoft Windows 10 Version 21H2 to 10.0.19044.7548 or later [S1].
  5. Update Microsoft Windows 10 Version 22H2 to 10.0.19045.7548 or later [S1].
  6. Update Microsoft Windows 11 Version 24H2 to 10.0.26100.8875 or later [S1].
  7. Update Microsoft Windows 11 Version 25H2 to 10.0.26200.8875 or later [S1].
  8. Update Microsoft Windows 11 version 26H1 to 10.0.28000.2525 [S1].

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Microsoft MSRCmsrc.microsoft.com

“CVE-2026-40400 Windows PowerShell Remote Code Execution Vulnerability”

Updated an acknowledgement. This is an informational change only.

Vulnerabilities mentioned

More on this topic