# CVE-2021-26700: Visual Studio Code npm-script Extension Remote Code Execution Vulnerability

- Severity: High 7.8 (CVSS:3.1, scored by microsoft) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.03%, higher than 93% of CVEs (2026-12-01)
- Published: 2021-02-25T23:02:00.000Z
- Modified: 2026-06-17T03:43:40.813Z
- Also known as: GHSA-r84v-qff8-jv5g
- Assigned by: microsoft

## Description

Visual Studio Code npm-script Extension Remote Code Execution Vulnerability

(As written by CVE List.)

## Affected

- Microsoft Visual Studio Code - npm-script Extension: from 0.1.0 before publication
- vscode-npm-script (npm): from 0.0.0
- microsoft npm: before 0.3.15

## Every score

- microsoft: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C`
- GitHub: rating Critical
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-26700> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-26700> (advisory)
- <https://github.com/microsoft/vscode-npm-scripts> (package)

## Sources

- CVE List: [CVE-2021-26700](https://www.cve.org/CVERecord?id=CVE-2021-26700), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-r84v-qff8-jv5g](https://github.com/advisories/GHSA-r84v-qff8-jv5g), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-26700](https://nvd.nist.gov/vuln/detail/CVE-2021-26700), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-26700 · Whole record: https://cve.day/CVE-2021-26700.json · Rebuilt by cve.day 2026-11-25T22:58:00.071Z
