Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 74%

Visual Studio Code Elevation of Privilege Vulnerability

0
High
Published: Tue Jun 09 2026 (06/09/2026, 07:00:00 UTC)
Source: GCVE Database
Vendor/Project: Microsoft Security Response Center
Product: Visual Studio Code

Description

CVE-2026-40376 is a high-severity elevation of privilege vulnerability affecting Microsoft Visual Studio Code versions prior to 1. 123. 2. The vulnerability is categorized under CWE-20, indicating improper input validation. No CVSS score or detailed technical exploitation information is provided. There is no information on available patches or official remediation from the vendor advisory. No known exploits in the wild have been reported.

Affected software

GitHub Actionsmore threats →ai
microsoft/vscode
pkg:github/microsoft/vscode
Affected versions
<1.123.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/10/2026, 21:25:01 UTC

Technical Analysis

This vulnerability in Visual Studio Code allows an attacker to elevate privileges due to improper input validation (CWE-20). It affects versions earlier than 1.123.2. The Microsoft Security Response Center has published an advisory identifying this issue but has not provided explicit patch or remediation details. The vulnerability is classified as high severity based on the available data, though no CVSS score is assigned. No known exploitation has been reported to date.

Potential Impact

Successful exploitation could allow an attacker to gain elevated privileges within the Visual Studio Code environment, potentially leading to unauthorized actions or access. The exact impact scope is not detailed in the available information.

Mitigation Recommendations

Patch status is not yet confirmed — check the Microsoft Security Response Center advisory for current remediation guidance. Until an official fix is released, users should monitor vendor communications for updates. No specific mitigations or workarounds are provided in the current advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Microsoft Security Response Center
Advisory Id
msrc_CVE-2026-40376
Cve Count
1
Additional Cves
[]
Cvss Version
null

Threat ID: 6a29d5c30e53e738839c2812

Added to database: 6/10/2026, 9:23:15 PM

Last enriched: 6/10/2026, 9:25:01 PM

Last updated: 6/10/2026, 10:39:23 PM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses