Visual Studio Code npm-script Extension Remote Code Execution Vulnerability

Patch this weekFull system takeover with local access.
7.8HIGH

Key Information:

Vendor

Microsoft

CVE ID
CVE ID:
CVE-2021-26700
Vendor
CVE Published:
25 February 2021
Fixed in
Fixed in:
0.1.0

Timeline

Exploit known 749 days after it was published

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

How risky is it?

  • No: Needs local access
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
Visual Studio Code - npm-script Extension Unknown below 0.1.0 is vulnerable
Install Visual Studio Code - npm-script Extension Unknown 0.1.0 or later
Read the vendor advisory โ†—
2Look for signs of compromise

Exploit code is public, so check logs on exposed Visual Studio Code - npm-script Extension Unknown systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

3Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is high (7.8).

What is CVE-2021-26700?

Visual Studio Code npm-script Extension Remote Code Execution Vulnerability

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Remote Code Execution Vulnerability in Microsoft Office Visio

CVE-2026-112732
MicrosoftMicrosoft 365 Apps For...9.8CRITICAL

Improper Authentication in Azure Event Grid

CVE-2026-62841
MicrosoftAzure Event Grid System๐Ÿ˜„10CRITICAL

Improper Authorization in Microsoft Office SharePoint

CVE-2026-120002
MicrosoftMicrosoft Sharepoint S...9.9CRITICAL
View more Microsoft vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

6% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.