CVE-2026-40400: Windows PowerShell Remote Code Execution Vulnerability

Published Jul 14, 2026
·
Updated

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

52 affected componentsFixes available
Microsoft Windows PowerShell
Microsoft Windows Server 2022<10.0.20348.5386
10.0.20348.5386
Microsoft Windows Server 2019<10.0.17763.9020
10.0.17763.9020
Microsoft Windows Server 2025<10.0.26100.33158
10.0.26100.33158
Microsoft Windows Server 2019<10.0.17763.9020
10.0.17763.9020
Microsoft Windows Server 2016<10.0.14393.9339
10.0.14393.9339
Microsoft Windows Server 2012<6.2.9200.26226
6.2.9200.26226
Microsoft Windows Server 2012<6.2.9200.26226
6.2.9200.26226
Microsoft Windows Server 2012 R2<6.3.9600.23291
6.3.9600.23291
Microsoft Windows Server 2012 R2<6.3.9600.23291
6.3.9600.23291
Microsoft Windows Server 2016<10.0.14393.9339
10.0.14393.9339
Microsoft Windows Server 2025<10.0.26100.33158
10.0.26100.33158
Microsoft Windows 10 1607<10.0.14393.9339
Microsoft Windows 10 1607<10.0.14393.9339
Microsoft Windows 10 1809<10.0.17763.9020
Microsoft Windows 10 1809<10.0.17763.9020
Microsoft Windows 10 21h2<10.0.19044.7548
Microsoft Windows 10 21h2<10.0.19044.7548
Microsoft Windows 10 21h2<10.0.19044.7548
Microsoft Windows 10 22h2<10.0.19045.7548
Microsoft Windows 10 22h2<10.0.19045.7548
Microsoft Windows 10 22h2<10.0.19045.7548
Microsoft Windows 11 24h2<10.0.26100.8875
Microsoft Windows 11 24h2<10.0.26100.8875
Microsoft Windows 11 25h2<10.0.26200.8875
Microsoft Windows 11 25h2<10.0.26200.8875
Microsoft Windows 11 26h1<10.0.28000.2269
Microsoft Windows 11 26h1<10.0.28000.2269
Microsoft Windows Server 2012
Microsoft Windows Server 2012=r2
Microsoft Windows Server 2016<10.0.14393.9339
Microsoft Windows Server 2019<10.0.17763.9020
Microsoft Windows Server 2022<10.0.20348.5386
Microsoft Windows Server 2025<10.0.26100.33158
Microsoft Windows 10=1607, >=10.0.14393<10.0.14393.9339
10.0.14393.9339
Microsoft Windows 11=26H1, >=10.0.28000<10.0.28000.2525
10.0.28000.2525
Microsoft Windows 10=22H2, >=10.0.19045<10.0.19045.7548
10.0.19045.7548
Microsoft Windows 11=24H2, >=10.0.26100<10.0.26100.8875
10.0.26100.8875
Microsoft Windows 11=24H2, >=10.0.26100<10.0.26100.8875
10.0.26100.8875
Microsoft Windows 11=25H2, >=10.0.26200<10.0.26200.8875
10.0.26200.8875
Microsoft Windows 10=1607, >=10.0.14393<10.0.14393.9339
10.0.14393.9339
Microsoft Windows 11=25H2, >=10.0.26200<10.0.26200.8875
10.0.26200.8875
Microsoft Windows 11=26H1, >=10.0.28000<10.0.28000.2525
10.0.28000.2525
Microsoft Windows 10=22H2, >=10.0.19045<10.0.19045.7548
10.0.19045.7548
Microsoft Windows 10=21H2, >=10.0.19044<10.0.19044.7548
10.0.19044.7548
Microsoft Windows 10=22H2, >=10.0.19045<10.0.19045.7548
10.0.19045.7548
Microsoft Windows 10=1809, >=10.0.17763<10.0.17763.9020
10.0.17763.9020
Microsoft Windows 10=21H2, >=10.0.19044<10.0.19044.7548
10.0.19044.7548
Microsoft Windows 10=1809, >=10.0.17763<10.0.17763.9020
10.0.17763.9020
Microsoft Windows 10=21H2, >=10.0.19044<10.0.19044.7548
10.0.19044.7548
Microsoft PowerShell>=7.5<7.5.11
7.5.11
Microsoft PowerShell>=7.6<7.6.6
7.6.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.19044.7548Patch KB5099539
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.20348.5386Patch KB5099540
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.19045.7548Patch KB5099539
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.17763.9020Patch KB5099538
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.26100.33158Patch KB5099536
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.2.9200.26226Patch KB5099445
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.14393.9339Patch KB5099535
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.28000.2525Patch KB5101649
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.3.9600.23291Patch KB5099444
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.26100.8875Patch KB5101650
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.26200.8875Patch KB5101650
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.5.11
  13. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.6.6

Event History

Jul 14, 2026
CVE Published
via Microsoft·02:00 PM
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
Affected Software
CVE Published
via MITRE·05:05 PM
Data Sourced
via MITRE·05:05 PM
DescriptionSeverity
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Jul 16, 2026
Data Sourced
via NVD·07:44 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40400?

CVE-2026-40400 has a high severity rating of 8.

2

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.

3

Which systems are vulnerable to CVE-2026-40400?

CVE-2026-40400 affects Microsoft Windows 10, Windows 11, and several versions of Windows Server.

4

How do I fix CVE-2026-40400?

To fix CVE-2026-40400, apply the latest security updates from Microsoft for your Windows version.

5

What type of vulnerability is CVE-2026-40400 classified as?

CVE-2026-40400 is classified as a Path Traversal vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203