CVE-2024-22018: Nodejs · A vulnerability has been identified in Node.js, affecting users of the experimental
Affects nodejsSource GCVE Database
Not known to be exploited · CVSS 2.9 Low.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSnodejspkg:deb/ubuntu/nodejs?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSnodejspkg:deb/ubuntu/nodejs?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used. This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files that they do not have explicit read access to. This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
References
- ubuntu.com/security/CVE-2024-22018 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-22018 (opens in a new tab)
- nodejs.org/en/blog/vulnerability/july-2024-security-releases (opens in a new tab)
- hackerone.com/reports/2145862 (opens in a new tab)
- github.com/nodejs/node/commit/b9289a6e29e54beeaa3f781bde1195e48df0da75 (opens in a new tab)
- github.com/nodejs/node/commit/4fe0f826a80365ce2512b8193ceaa9466c288aa5 (opens in a new tab)
- github.com/nodejs/node/commit/0881c1f01ac90006315cae5b9c38cfbf44d37e59 (opens in a new tab)