Privilege escalationin NodeJS Node.
No public exploit found; not on exploited lists.
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Jan 2021CVE ID reserved by hackerone.
- 12 Jul 2021Published in the CVE List.
- 30 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Node vulnerabilities
Same weakness: Incorrect permission assignment
- nodejs.org x_refsource_MISC
- hackerone.com x_refsource_MISC
- security.netapp.com x_refsource_CONFIRM
- cert-portal.siemens.com x_refsource_CONFIRM
Patchminder. CVE-2021-22921: Privilege escalation in NodeJS Node. https://patchminder.com/cve/cve-2021-22921/ (accessed 5 December 2026).