CVE-2026-40376

Visual Studio Code Elevation of Privilege Vulnerability

State
Published
Severity
7.5 High
Published
Jun 9, 2026
Updated
Sep 24, 2026
Reserved
Apr 11, 2026

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:Cmicrosoft

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Visual Studio CodeMicrosoft
  • 1.0.0 to before 1.123.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.