CVE-2026-40376: Microsoft Visual Studio Code

High severity, CVSS 8.1. EPSS: 0.7% chance of exploitation in the next 30 days.

Improper input validation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.

Affected products

  • Microsoft Visual Studio Code: from 1.0.0, before 1.123.2 (fixed in 1.123.2)

Published 2026-06-09. Last modified 2026-07-23.