Privilege escalationin NodeJS Node.
Proof of concept public (GitHub).
setuid() does not affect libuv's internal io_uring operations if initialized before the call to setuid(). This allows the process to perform privileged operations despite presumably having dropped such privileges through a call to setuid(). This vulnerability affects all users using version greater or equal than Node.js 18.18.0, Node.js 20.4.0 and Node.js 21.
- Upgrade nodejs to 18.18.0, 20.4.0, 21.6.1 or later, whichever matches your release line.
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
- 4 Jan 2024CVE ID reserved by hackerone.
- 19 Mar 2024Published in the CVE List.
- 12 Jan 2025First public proof of concept on GitHub.
- 30 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
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
Other Node vulnerabilities
Same weakness: Execution with unnecessary privileges
Patchminder. CVE-2024-22017: Privilege escalation in NodeJS Node. https://patchminder.com/cve/cve-2024-22017/ (accessed 5 December 2026).