CVEBrief

Home / NodeJS / Node / CVE-2024-21896

CVE-2024-21896: is it exploited, and which versions of NodeJS Node are affected and fixed?

CVE-2024-21896 is a path Traversal: 'dir/../../filename' vulnerability in NodeJS Node. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: Node every 4 version, Node every 5 version, Node every 6 version and 14 more (CVE record by hackerone). Fixed in 20.11.1 and 21.6.2 (CVE record by hackerone). Severity: High (7.9, CVSS 3.0, from hackerone).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 28, 2026, 18:31 UTC and NVD November 19, 2026, 07:32 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
Node every 4 version, Node every 5 version, Node every 6 version and 14 more
CVE record by hackerone
Fixed in
20.11.1 and 21.6.2
CVE record by hackerone
Severity
High 7.9
CVSS 3.0 from hackerone
Exploit odds (EPSS)
1.26% in 30 days
higher than 71% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-21896?

The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a Buffer, the implementation uses Buffer.from() to obtain a Buffer from the result of path.resolve(). By monkey-patching Buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which leads to a path traversal vulnerability. 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.

From the CVE record by hackerone, last updated April 30, 2025, 22:25 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
NodeJSNodeevery 4 version
every 5 version
every 6 version
every 7 version
every 8 version
every 9 version
every 10 version
every 11 version
every 12 version
every 13 version
every 14 version
every 15 version
and 5 more ranges
20.11.1, 21.6.2

As the CVE record by hackerone states it, last updated April 30, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
nodejsnode.jsfrom 20.0.0 before 20.11.1application
nodejsnode.jsfrom 21.0.0 before 21.6.2application

NVD analysis (status Analyzed), last modified June 17, 2026, 07:10 UTC.

How severe is CVE-2024-21896?

ScoreVersionVectorSource
High 7.9CVSS 3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N/CR:M/IR:M/AR:Mhackerone
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-21896 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, March 12, 2024)
EPSS
1.26% probability of exploitation activity in the next 30 days, percentile 70.6 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 3, 2024
Published
February 20, 2024, 01:31 UTC
CVE record updated
April 30, 2025, 22:25 UTC by hackerone
NVD
Analyzed, last modified June 17, 2026, 07:10 UTC
Last checked
CVE list November 28, 2026, 18:31 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Node?

Every CVE in Node

Questions about CVE-2024-21896

Is CVE-2024-21896 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of NodeJS Node are affected by CVE-2024-21896?

Node every 4 version, Node every 5 version, Node every 6 version, Node every 7 version, Node every 8 version, Node every 9 version and 11 more, per the CVE record by hackerone. The tables above give every range the sources list.

Which version fixes CVE-2024-21896?

20.11.1 and 21.6.2, per the CVE record by hackerone. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-21896?

High (7.9, CVSS 3.0, from hackerone). The severity table above shows each score with its source.

Where is the official record of CVE-2024-21896?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.