Skip to main content
Mallory
CriticalVulnerability

CVE-2026-47281: Elevation of Privilege in Microsoft Visual Studio Code via malicious workspace file

Published Jun 9, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.6Critical · v3.1
EPSS0.83%55th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2026-47281CWE-862 · Missing Authorization

CVE-2026-47281 is an elevation of privilege vulnerability in Microsoft Visual Studio Code. Available descriptions characterize the issue as involving missing authorization and improper input validation. The vulnerability is triggered when a user opens a malicious workspace file in Visual Studio Code, after which an unauthorized attacker can exploit the flaw over a network. Microsoft rates the issue as Important, and the published CVSS v3.1 vector indicates network attackability, low attack complexity, no required privileges, required user interaction, and scope change. Successful exploitation can result in privilege escalation from the Visual Studio Code context to SYSTEM privileges.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an unauthorized attacker to elevate privileges and potentially obtain SYSTEM-level privileges on the affected host. Because the vulnerability has changed scope, impact is not limited to the Visual Studio Code process and may extend to the broader local system, including compromise of files, settings, and other protected resources. The published CVSS metrics indicate high impact to confidentiality, integrity, and availability.

Mitigation

If you can’t patch tonight, do this now.

Do not open untrusted or unknown Visual Studio Code workspace files. Restrict use of .code-workspace files to trusted sources only until the vendor fix has been applied. In enterprise environments, reduce exposure by enforcing trusted-content handling practices for developer workspaces and limiting opportunities for users to open externally supplied workspace files.

Remediation

Patch, then assume compromise.

Apply the Microsoft security update for Visual Studio Code associated with CVE-2026-47281 through the vendor’s release channel. Organizations should prioritize deployment as part of the June 2026 Microsoft security updates after standard validation and testing procedures for affected Visual Studio Code installations.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationVisual Studio Codeapplication
FAQ

Frequently asked questions

Is CVE-2026-47281 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-47281 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-47281?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-47281.
Is there a patch for CVE-2026-47281?
Apply the Microsoft security update for Visual Studio Code associated with CVE-2026-47281 through the vendor’s release channel. Organizations should prioritize deployment as part of the June 2026 Microsoft security updates after standard validation and testing procedures for affected Visual Studio Code installations.
What products are affected by CVE-2026-47281?
Microsoft Corporation Visual Studio Code.
How severe is CVE-2026-47281?
CVE-2026-47281 has a CVSS v3.1 score of 9.6 (Critical) and an EPSS score of 0.83% (55th percentile) as of Sep 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.