BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-21891 in Nodejs and 1 more product

High 8.8 Industrial / OT

Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementations leading to filesystem permission model bypass through path traversal attack. 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.

Affects 2 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.18.8
EPSS1.2%
EPSS percentile70th

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Nodejs Nodejs 20.11.0 21.6.0 ≥ 20.0.0, < 20.11.1 ≥ 21.0.0, < 21.6.2
Nodejs Node.Js 20.11.0 21.6.0 ≥ 20.0.0, < 20.11.1 ≥ 21.0.0, < 21.6.2
Siemens — —
Siemens Sinec Ins < 1.0 SP2 Update 3

Fix and vendor advisory

  • SINEC INS: Update to V1.0 SP2 Update 3 or later version

Source: ICSA-24-319-08

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-21891
BreachSpider IDBS-2024-GLOBAL-051975-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-02-20
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all path-related inputs in Node.js applications. Use a whitelist approach to restrict the paths that can be accessed. Regularly review and audit code for potential security issues.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.