CVE-2026-40400
Analyzed
Analyzed - Analysis Complete
Relative Path Traversal in Windows PowerShell
Vulnerability report for CVE-2026-40400, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-14
Last updated on: 2026-07-22
Assigner: Microsoft Corporation
Description
Description
Relative path traversal in Windows PowerShell allows an authorized attacker to execute code over a network.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| microsoft | windows_server_2012 | r2 |
| microsoft | windows_server_2012 | * |
| microsoft | windows_11_26h1 | to 10.0.28000.2269 (exc) |
| microsoft | windows_11_26h1 | to 10.0.28000.2269 (exc) |
| microsoft | windows_10_1607 | to 10.0.14393.9339 (exc) |
| microsoft | windows_10_1607 | to 10.0.14393.9339 (exc) |
| microsoft | windows_10_1809 | to 10.0.17763.9020 (exc) |
| microsoft | windows_10_1809 | to 10.0.17763.9020 (exc) |
| microsoft | windows_11_24h2 | to 10.0.26100.8875 (exc) |
| microsoft | windows_11_24h2 | to 10.0.26100.8875 (exc) |
| microsoft | windows_server_2025 | to 10.0.26100.33158 (exc) |
| microsoft | windows_10_21h2 | to 10.0.19044.7548 (exc) |
| microsoft | windows_10_21h2 | to 10.0.19044.7548 (exc) |
| microsoft | windows_10_21h2 | to 10.0.19044.7548 (exc) |
| microsoft | windows_10_22h2 | to 10.0.19045.7548 (exc) |
| microsoft | windows_10_22h2 | to 10.0.19045.7548 (exc) |
| microsoft | windows_10_22h2 | to 10.0.19045.7548 (exc) |
| microsoft | windows_11_25h2 | to 10.0.26200.8875 (exc) |
| microsoft | windows_11_25h2 | to 10.0.26200.8875 (exc) |
| microsoft | windows_server_2022 | to 10.0.20348.5386 (exc) |
| microsoft | windows_server_2016 | to 10.0.14393.9339 (exc) |
| microsoft | windows_server_2019 | to 10.0.17763.9020 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-23 | The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory. |