Review reviewHigh

CVE-2026-40376

Microsoft Visual Studio Code, visual studio code

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

CVSS
8.1
EPSS
0.67%
48.5% percentile
CISA KEV
Not listed
Published
2026.06.10
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.67%
Technical severityCVSS 8.1

Vulnerability overview

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

Affected product and versions

Product
Microsoft Visual Studio Code, visual studio code
Affected versions
>= 1.0.0 < 1.123.2
Fixed versions
1.123.2

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Microsoft Visual Studio Code, visual studio code and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-20