CVE-2026-102238
Critical
Description
Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
SeverityCritical
CVSS9.6
Exploit probability—
Product
Visual Studio Code
PublishedOct 13, 2026
First seenOct 13, 2026
Weakness typeCWE-22Path traversal
How to fix
Update
- Microsoft Visual Studio Code1.141.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft Visual Studio Code | 1.0.0 ≤ v < 1.141.1 | 1.141.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.