CVE-2026-21715

Summary

CVECVE-2026-21715
StatePUBLISHED
Assignerhackerone
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-30 20:16:19 UTC
Updated2026-04-01 16:23:48 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.0 3.3 LOW from [email protected]

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS: 0.000050000 probability, percentile 0.002010000 (date 2026-04-07)

Problem Types: CWE-732 | CWE-732 CWE-732 Incorrect Permission Assignment for Critical Resource


VersionSourceTypeScoreSeverityVector
3.0[email protected]Secondary3.3LOWCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
3.0CNADECLARED3.3LOWCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Nodejs Node affected 20.20.1 20.20.1 semver Not specified
CNA Nodejs Node affected 22.22.1 22.22.1 semver Not specified
CNA Nodejs Node affected 24.14.0 24.14.0 semver Not specified
CNA Nodejs Node affected 25.8.1 25.8.1 semver Not specified
CNA Nodejs Node affected 4.0 4.* semver Not specified
CNA Nodejs Node affected 5.0 5.* semver Not specified
CNA Nodejs Node affected 6.0 6.* semver Not specified
CNA Nodejs Node affected 7.0 7.* semver Not specified
CNA Nodejs Node affected 8.0 8.* semver Not specified
CNA Nodejs Node affected 9.0 9.* semver Not specified
CNA Nodejs Node affected 10.0 10.* semver Not specified
CNA Nodejs Node affected 11.0 11.* semver Not specified
CNA Nodejs Node affected 12.0 12.* semver Not specified
CNA Nodejs Node affected 13.0 13.* semver Not specified
CNA Nodejs Node affected 14.0 14.* semver Not specified
CNA Nodejs Node affected 15.0 15.* semver Not specified
CNA Nodejs Node affected 16.0 16.* semver Not specified
CNA Nodejs Node affected 17.0 17.* semver Not specified
CNA Nodejs Node affected 18.0 18.* semver Not specified
CNA Nodejs Node affected 19.0 19.* semver Not specified

References

ReferenceSourceLinkTags
nodejs.org/en/blog/vulnerability/march-2026-security-releases [email protected] nodejs.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report