CVE-2026-40400

Windows PowerShell Remote Code Execution Vulnerability

State
Published
Severity
8.0 High
Published
Jul 14, 2026
Updated
Oct 8, 2026
Reserved
Apr 13, 2026

Read the record on cve.org

Description

Relative path traversal in Windows PowerShell allows an authorized attacker to execute code over a network.

Scores

CVSSScoreVectorSource
3.18.0 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:Cmicrosoft

Weaknesses

  • CWE-23 Relative Path Traversal

Affected Products

ProductVersions
PowerShell 7.5Microsoft
  • 7.5.0 to before 7.5.11Affected
PowerShell 7.6Microsoft
  • 7.6.0 to before 7.6.6Affected
Windows 10 Version 1607Microsoft
  • 10.0.14393.0 to before 10.0.14393.9339Affected
Windows 10 Version 1809Microsoft
  • 10.0.17763.0 to before 10.0.17763.9020Affected
Windows 10 Version 21H2Microsoft
  • 10.0.19044.0 to before 10.0.19044.7548Affected
Windows 10 Version 22H2Microsoft
  • 10.0.19045.0 to before 10.0.19045.7548Affected
Windows 11 Version 24H2Microsoft
  • 10.0.26100.0 to before 10.0.26100.8875Affected
Windows 11 Version 25H2Microsoft
  • 10.0.26200.0 to before 10.0.26200.8875Affected
Windows 11 version 26H1Microsoft
  • 10.0.28000.0 to before 10.0.28000.2525Affected
Windows Server 2012Microsoft
  • 6.2.9200.0 to before 6.2.9200.26226Affected
Windows Server 2012 (Server Core installation)Microsoft
  • 6.2.9200.0 to before 6.2.9200.26226Affected
Windows Server 2012 R2Microsoft
  • 6.3.9600.0 to before 6.3.9600.23291Affected
Windows Server 2012 R2 (Server Core installation)Microsoft
  • 6.3.9600.0 to before 6.3.9600.23291Affected
Windows Server 2016Microsoft
  • 10.0.14393.0 to before 10.0.14393.9339Affected
Windows Server 2016 (Server Core installation)Microsoft
  • 10.0.14393.0 to before 10.0.14393.9339Affected
Windows Server 2019Microsoft
  • 10.0.17763.0 to before 10.0.17763.9020Affected
Windows Server 2019 (Server Core installation)Microsoft
  • 10.0.17763.0 to before 10.0.17763.9020Affected
Windows Server 2022Microsoft
  • 10.0.20348.0 to before 10.0.20348.5386Affected
Windows Server 2025Microsoft
  • 10.0.26100.0 to before 10.0.26100.33158Affected
Windows Server 2025 (Server Core installation)Microsoft
  • 10.0.26100.0 to before 10.0.26100.33158Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.