Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2024-22018

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is…

Low2.9EPSS 0.46%
Published
Updated
Reserved
Assigned by
hackerone

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.

Scores

CVSS scores of CVE-2024-22018, by who scored it
Scored byCVSSScoreVector
hackeroneCNA (assigner)3.0Low2.9CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
NVDNVD · Deferred3.0Low2.9CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS (exploitation in 30 days)
0.46% · top 60% of all CVEs (4 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.9.

Weakness

  • CWE-noinfo Not enough information

Affected products

  • NodeJS · Node

    • affected 4.0 – < 4.*
    • affected 5.0 – < 5.*
    • affected 6.0 – < 6.*
    • affected 7.0 – < 7.*
    • affected 8.0 – < 8.*
    • affected 9.0 – < 9.*
    • affected 10.0 – < 10.*
    • affected 11.0 – < 11.*
    • affected 12.0 – < 12.*
    • affected 13.0 – < 13.*
    • affected 14.0 – < 14.*
    • affected 15.0 – < 15.*
    • affected 16.0 – < 16.*
    • affected 17.0 – < 17.*
    • affected 19.0 – < 19.*
    • affected 20.0 – < 20.15.1
    • affected 21.0 – < 21.*
    • affected 22.0 – < 22.4.1

References (4)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2024-22018 badge
[![CVE-2024-22018](https://trackcve.app/badge/CVE-2024-22018.svg)](https://trackcve.app/cve/CVE-2024-22018)

Record last updated .