# CVE-2026-21715: A flaw in Node.js Permission Model filesystem enforcement leaves fs.realpathSync.native() without the required read permission checks, whil…

- Severity: Low 3.3 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-03-30T19:07:28.507Z
- Modified: 2026-09-17T18:36:37.076Z
- Also known as: BIT-NODE-2026-21715, BIT-NODE-MIN-2026-21715
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: hackerone

## Description

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.

(As written by CVE List.)

## Affected

- nodejs node: from 20.20.1 up to 20.20.1; from 22.22.1 up to 22.22.1; from 24.14.0 up to 24.14.0; from 25.8.1 up to 25.8.1; from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; and 8 more
- nodejs node.js: up to 20.20.1; from 22.0.0 up to 22.22.1; from 24.0.0 up to 24.14.0; from 25.0.0 up to 25.8.1
- node (Bitnami): before 20.20.2; from 21.0.0 before 22.22.2; from 23.0.0 before 24.14.1; from 25.0.0 before 25.8.2
- node-min (Bitnami): before 20.20.2; from 21.0.0 before 22.22.2; from 23.0.0 before 24.14.1; from 25.0.0 before 25.8.2

## Every score

- hackerone: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Low

## References

- <https://nodejs.org/en/blog/vulnerability/march-2026-security-releases> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21715> (web)

## Sources

- CVE List: [CVE-2026-21715](https://www.cve.org/CVERecord?id=CVE-2026-21715), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-21715](https://nvd.nist.gov/vuln/detail/CVE-2026-21715), Public domain, modified 2026-08-19
- Bitnami Vulnerability Database: [BIT-NODE-2026-21715](https://osv.dev/vulnerability/BIT-NODE-2026-21715), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2026-21715](https://osv.dev/vulnerability/BIT-NODE-MIN-2026-21715), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-21715 · Whole record: https://cve.day/CVE-2026-21715.json · Rebuilt by cve.day 2026-11-25T22:59:17.527Z
