CVE-2026-45496

Medium

Description

Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

SeverityMedium
CVSS5.5
Exploit probability—
ProductMicrosoft Visual Studio Code
PublishedJul 14, 2026
First seenJul 14, 2026

How to fix

Update
  • microsoft visual_studio_code1.128.1 or later

Affected products

ProductAffected versionsFixed in
microsoft visual_studio_codev < 1.128.11.128.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.

CVE-2026-45496 · Microsoft Visual Studio Code · Dark Radar