# CVE-2021-22921: Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to local privilege escalation attacks under certain conditions on Windows platfor…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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): 7.43%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-12T10:22:24.000Z
- Modified: 2026-10-16T09:45:31.316Z
- Also known as: BIT-NODE-2021-22921, BIT-NODE-MIN-2021-22921
- Weaknesses: CWE-732
- Assigned by: hackerone

## Description

Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to local privilege escalation attacks under certain conditions on Windows platforms. More specifically, improper configuration of permissions in the installation directory allows an attacker to perform two different escalation attacks: PATH and DLL hijacking.

(As written by CVE List.)

## Affected

- NodeJS Node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.22.2; from 13.0 before 13.*; from 14.0 before 14.17.2; from 15.0 before 15.*; and 1 more
- nodejs node.js: from 12.0.0 before 12.22.2; from 14.0.0 before 14.17.2; from 16.0.0 before 16.4.1
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- node (Bitnami): from 12.0.0 before 12.22.2; from 14.0.0 before 14.17.2; from 16.0.0 before 16.4.1
- node-min (Bitnami): from 12.0.0 before 12.22.2; from 14.0.0 before 14.17.2; from 16.0.0 before 16.4.1

## Every score

- 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 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://hackerone.com/reports/1211160> (exploit, advisory, third-party-advisory)
- <https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/> (advisory, patch, release-notes, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210805-0003/> (advisory, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22921> (web)

## Sources

- CVE List: [CVE-2021-22921](https://www.cve.org/CVERecord?id=CVE-2021-22921), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2021-22921](https://nvd.nist.gov/vuln/detail/CVE-2021-22921), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2021-22921](https://osv.dev/vulnerability/BIT-NODE-2021-22921), Apache-2.0, modified 2026-10-16
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2021-22921](https://osv.dev/vulnerability/BIT-NODE-MIN-2021-22921), Apache-2.0, modified 2026-10-16

---

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