CVE-2026-40400: Windows PowerShell Remote Code Execution Vulnerability
Relative path traversal in Windows PowerShell allows an authorized attacker to execute code over a network.
Other sources
Windows PowerShell Remote Code Execution Vulnerability
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.19044.7548Patch KB5099539 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.20348.5386Patch KB5099540 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.19045.7548Patch KB5099539 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.17763.9020Patch KB5099538 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.26100.33158Patch KB5099536 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.2.9200.26226Patch KB5099445 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.14393.9339Patch KB5099535 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.28000.2525Patch KB5101649 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.3.9600.23291Patch KB5099444 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.26100.8875Patch KB5101650 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.26200.8875Patch KB5101650 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.5.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.6.6
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40400?
CVE-2026-40400 has a high severity rating of 8.
How does CVE-2026-40400 affect my system?
CVE-2026-40400 allows an authorized attacker to execute code over a network through a relative path traversal in Windows PowerShell.
Which systems are vulnerable to CVE-2026-40400?
CVE-2026-40400 affects Microsoft Windows 10, Windows 11, and several versions of Windows Server.
How do I fix CVE-2026-40400?
To fix CVE-2026-40400, apply the latest security updates from Microsoft for your Windows version.
What type of vulnerability is CVE-2026-40400 classified as?
CVE-2026-40400 is classified as a Path Traversal vulnerability.