Bug 2453152 (CVE-2026-21715) - CVE-2026-21715 Node.js: Node.js: Information disclosure due to `fs.realpathSync.native()` bypassing filesystem read restrictions
Summary: CVE-2026-21715 Node.js: Node.js: Information disclosure due to `fs.realpathSy...
Keywords:
Status: NEW
Alias: CVE-2026-21715
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2453596 2453597 2453598
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-30 20:01 UTC by OSIDB Bzimport
Modified: 2026-04-13 02:47 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:7350 0 None None None 2026-04-09 20:20:40 UTC
Red Hat Product Errata RHSA-2026:7670 0 None None None 2026-04-13 02:47:49 UTC
Red Hat Product Errata RHSA-2026:7675 0 None None None 2026-04-13 02:23:18 UTC

Description OSIDB Bzimport 2026-03-30 20:01:49 UTC
A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()` without the required read permission checks, while all comparable filesystem functions correctly enforce them.

As a result, code running under `--permission` with restricted `--allow-fs-read` can still use `fs.realpathSync.native()` to check file existence, resolve symlink targets, and enumerate filesystem paths outside of permitted directories.

This vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-read` is intentionally restricted.

Comment 2 errata-xmlrpc 2026-04-09 20:20:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:7350 https://access.redhat.com/errata/RHSA-2026:7350

Comment 3 errata-xmlrpc 2026-04-13 02:23:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:7675 https://access.redhat.com/errata/RHSA-2026:7675

Comment 4 errata-xmlrpc 2026-04-13 02:47:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:7670 https://access.redhat.com/errata/RHSA-2026:7670


Note You need to log in before you can comment on or make changes to this bug.