Skip to main content
VulnerabilityPublished Updated

CVE-2026-40376: Microsoft Visual Studio Code · Improper Input Validation

Affects Microsoft Visual Studio CodeSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 1.123.2 soon.

Data as of 13 Nov 2026, 12:10 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (microsoft)CVSS 3.17.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:C

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
MicrosoftVisual Studio CodeAffected
  • >=1.0.0 <1.123.2
Fixed in
  • 1.123.2

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.

References

Community reviews

Loading reviews…