Skip to content
Noroxi
CVE-2024-22018· NVD / CVE Program· CNA hackerone

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

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.

LowCVSS 2.9 · v3.0—No exploit Fix available
Published
Jul 9, 2024
Updated
Jun 17, 2026
EPSS
0.5% · 38th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

11

Monitor

Low priority for now.

CVSS
11 / 40 · 2.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · hackerone
2.9
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

—

Using node? Add it to your stack and be the first to know about CVEs like this one. (Node.js)

Add to my stack

Versions reported by the vendor

Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.

  • NodeJS Node

    • 4.0 and later · before 4.*affected · semver
    • 5.0 and later · before 5.*affected · semver
    • 6.0 and later · before 6.*affected · semver
    • 7.0 and later · before 7.*affected · semver
    • 8.0 and later · before 8.*affected · semver
    • 9.0 and later · before 9.*affected · semver
    • 10.0 and later · before 10.*affected · semver
    • 11.0 and later · before 11.*affected · semver
    • 12.0 and later · before 12.*affected · semver
    • 13.0 and later · before 13.*affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8nodejsbefore 1:20.16.0-1.module_el8.10.0+3882+e12e42db1:20.16.0-1.module_el8.10.0+3882+e12e42db
AlmaLinux:8nodejs-develbefore 1:20.16.0-1.module_el8.10.0+3882+e12e42db1:20.16.0-1.module_el8.10.0+3882+e12e42db
AlmaLinux:8nodejs-docsbefore 1:20.16.0-1.module_el8.10.0+3882+e12e42db1:20.16.0-1.module_el8.10.0+3882+e12e42db
AlmaLinux:8nodejs-full-i18nbefore 1:20.16.0-1.module_el8.10.0+3882+e12e42db1:20.16.0-1.module_el8.10.0+3882+e12e42db
AlmaLinux:8nodejs-nodemonbefore 3.0.1-1.module_el8.9.0+3731+490e3ce53.0.1-1.module_el8.9.0+3731+490e3ce5
AlmaLinux:8nodejs-packagingbefore 2021.06-4.module_el8.9.0+3775+d8460d352021.06-4.module_el8.9.0+3775+d8460d35
AlmaLinux:8nodejs-packaging-bundlerbefore 2021.06-4.module_el8.9.0+3775+d8460d352021.06-4.module_el8.9.0+3775+d8460d35
AlmaLinux:8npmbefore 1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db
AlmaLinux:9nodejsbefore 1:20.16.0-1.module_el9.4.0+107+dbd477e41:20.16.0-1.module_el9.4.0+107+dbd477e4
AlmaLinux:9nodejs-develbefore 1:20.16.0-1.module_el9.4.0+107+dbd477e41:20.16.0-1.module_el9.4.0+107+dbd477e4
AlmaLinux:9nodejs-docsbefore 1:20.16.0-1.module_el9.4.0+107+dbd477e41:20.16.0-1.module_el9.4.0+107+dbd477e4
AlmaLinux:9nodejs-full-i18nbefore 1:20.16.0-1.module_el9.4.0+107+dbd477e41:20.16.0-1.module_el9.4.0+107+dbd477e4
AlmaLinux:9nodejs-nodemonbefore 3.0.1-1.module_el9.3.0+47+c33bc2883.0.1-1.module_el9.3.0+47+c33bc288
AlmaLinux:9nodejs-packagingbefore 2021.06-4.module_el9.3.0+88+29afeaa22021.06-4.module_el9.3.0+88+29afeaa2
AlmaLinux:9nodejs-packaging-bundlerbefore 2021.06-4.module_el9.3.0+88+29afeaa22021.06-4.module_el9.3.0+88+29afeaa2
AlmaLinux:9npmbefore 1:10.8.1-1.20.16.0.1.module_el9.4.0+107+dbd477e41:10.8.1-1.20.16.0.1.module_el9.4.0+107+dbd477e4
Alpine:v3.19nodejsbefore 20.15.1-r020.15.1-r0
Debian:13nodejsbefore 20.15.1+dfsg-120.15.1+dfsg-1
openSUSE:Tumbleweednodejs20before 20.15.1-1.120.15.1-1.1
openSUSE:Tumbleweednodejs22before 22.10.0-1.122.10.0-1.1
openSUSE:Tumbleweednodejs24before 24.11.1-2.124.11.1-2.1
openSUSE:Tumbleweednodejs26before 26.3.1-1.126.3.1-1.1
Red Hat:enterprise_linux:8::appstreamnodejsbefore 1:20.16.0-1.module+el8.10.0+22203+a88c83101:20.16.0-1.module+el8.10.0+22203+a88c8310
Red Hat:enterprise_linux:8::appstreamnodejs-debuginfobefore 1:20.16.0-1.module+el8.10.0+22203+a88c83101:20.16.0-1.module+el8.10.0+22203+a88c8310

+38

Other highest-scoring records for the same primary product.

  • CVE-2024-27983An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of HTTP/2 frames packets with a few HTTP/2 f
    58Plan
  • CVE-2025-27210An incomplete fix has been identified for CVE-2025-23084 in Node.js, specifically affecting Windows device names like CON, PRN, and AUX.
    35Monitor
  • CVE-2024-27980Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject a
    32Monitor
  • CVE-2024-36138Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child
    32Monitor
  • CVE-2026-56848A flaw in Node.js HTTP/2 handling allows `nghttp2_session_mem_send()` to be called re-entrantly while `nghttp2_session_mem_recv()` is execut
    30Monitor
  • CVE-2026-56846A flaw in Node.js HTTP/2 handling can cause HTTP/2 retained header blocks evade maxSessionMemory and enable remote memory exhaustion.
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
NodeJS Node10.*Vendor (CNA)
NodeJS Node11.*Vendor (CNA)
NodeJS Node12.*Vendor (CNA)
NodeJS Node13.*Vendor (CNA)
NodeJS Node14.*Vendor (CNA)
NodeJS Node15.*Vendor (CNA)
NodeJS Node16.*Vendor (CNA)
NodeJS Node17.*Vendor (CNA)
NodeJS Node19.*Vendor (CNA)
NodeJS Node20.15.1Vendor (CNA)
NodeJS Node21.*Vendor (CNA)
NodeJS Node22.4.1Vendor (CNA)
NodeJS Node4.*Vendor (CNA)
NodeJS Node5.*Vendor (CNA)
NodeJS Node6.*Vendor (CNA)
NodeJS Node7.*Vendor (CNA)
NodeJS Node8.*Vendor (CNA)
NodeJS Node9.*Vendor (CNA)
azl3 nodejs 20.14.0-15 on Azure Linux 3.024.14.1-3 · CBL-Mariner ReleasesMicrosoft (MSRC)
almalinux:nodejs1:20.16.0-1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-devel1:20.16.0-1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-docs1:20.16.0-1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-full-i18n1:20.16.0-1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-nodemon3.0.1-1.module_el8.9.0+3731+490e3ce5 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-packaging2021.06-4.module_el8.9.0+3775+d8460d35 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-packaging-bundler2021.06-4.module_el8.9.0+3775+d8460d35 · AlmaLinux:8Package registry (OSV)
almalinux:npm1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
alpine:nodejs20.15.1-r0 · Alpine:v3.19Package registry (OSV)
debian:nodejs20.15.1+dfsg-1 · Debian:13Package registry (OSV)
opensuse:nodejs2020.15.1-150500.11.12.2 · openSUSE:Leap 15.5Package registry (OSV)

+17

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
low · data can be read
Integrity
none
Availability
none
Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
None
Availability impact
None

Weakness class (CWE)

—

CVSS vector

CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records