CVE-2026-40376
Analyzed
Analyzed - Analysis Complete
Improper Input Validation in Visual Studio Code Elevates Privileges
Vulnerability report for CVE-2026-40376, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-06-09
Last updated on: 2026-06-11
Assigner: Microsoft Corporation
Description
Description
Improper input validation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| microsoft | visual_studio_code | From 1.0.0 (inc) to 1.123.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-20 | The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. |