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—
ProductVisual Studio Code
PublishedOct 13, 2026
First seenOct 13, 2026

How to fix

Update
  • Microsoft Visual Studio Code1.141.1 or later

Affected products

ProductAffected versionsFixed in
Microsoft Visual Studio Code1.0.0 ≤ v < 1.141.11.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.