CVE-2026-40376: Microsoft Visual Studio Code · Improper Input Validation
Affects Microsoft Visual Studio CodeSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 1.123.2 soon.
Data as of 13 Nov 2026, 12:10 UTC
Thin evidence
One scorer or none| CNA (microsoft) | CVSS 3.1 | 7.5 |
|---|
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Total control over the software or total information disclosure
CISA SSVC assessment, 2026-06-10.
- Patch
- Available – fixed in 1.123.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:CExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade Microsoft Visual Studio Code to 1.123.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MicrosoftVisual Studio Code | Affected
| Fixed in
|
AI-suggested
Apply the official patch by upgrading Visual Studio Code to version 1.123.2 or later. This update contains the fix for the improper input validation vulnerability. No other mitigation is required as the issue is resolved in the fixed version.
Description
CVE-2026-40376 is a high-severity vulnerability in Microsoft Visual Studio Code caused by improper input validation. This flaw allows an unauthorized attacker to elevate privileges over a network. The vulnerability affects versions from 1.0.0 up to but not including 1.123.2. Microsoft has released an official fix in version 1.123.2 to address this issue.