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 2453598 2453597
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-30 20:01 UTC by OSIDB Bzimport
Modified: 2026-03-31 22:17 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

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.


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