CVE-2021-26700: Visual Studio Code npm-script Extension - Remote Code Execution
- Cve: CVE-2021-26700
- Name: Visual Studio Code npm-script Extension - Remote Code Execution
- Description: Visual Studio Code npm-script Extension Remote Code Execution Vulnerability
- Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Update to the latest version of the extension or apply security patches provided by the vendor.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0603
- Epss percentile: 0.93458
- Assignee: [email protected]
- Published at: 2021-02-25T23:15:16Z
- Age in days: 2098
- Modified at: 2026-06-17T03:43:40Z
- Patch available: yes
- Public exploits total: 2
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-26700
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/june-in-exile/CVE-2021-26700 | poc-in-github | 2023-03-16 |
| https://github.com/jackadamson/CVE-2021-26700 | poc-in-github | 2021-02-14 |
References
| Url | Source | Tags |
|---|---|---|
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-26700 | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| microsoft:npm | < 0.3.15 | no | nvd | /v1/products/microsoft/npm |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| microsoft/vscode-npm-scripts | package | yes | /v1/repositories/microsoft/vscode-npm-scripts |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2021-02-14
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts