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 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.

Overview

Severity
Low (CVSS 2.9)
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Exploit Status
Not Exploited
Patch Tuesday
2024-Jul
Released
2025-09-03
Last Updated
2026-04-29
EPSS Score
0.21% (percentile: 43.6%)

FAQ

Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability? One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.

Affected Products (5)

Other

  • 19904-17084
  • 20733-17084
  • 21111-17084
  • 20866-17084
  • 21251-17084

Revision History

  • 2025-09-03: Information published.
  • 2025-12-07: Information published.
  • 2026-02-18: Information published.
  • 2026-03-31: Information published.
  • 2026-04-29: Information published.