
CVE catalog
CVE-2026-21715
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 the
- Severity
- Low · CVSS 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nodejs | sid | 24.22.1+dfsg+~cs24.19.2-1 | fixed |
| Debian | nodejs | forky | 24.21.0+dfsg+~cs24.13.4-1 | fixed |
| Debian | nodejs | trixie | 20.19.2+dfsg-1+deb13u2 | fixed |
| Debian | nodejs | trixie-security | 20.19.2+dfsg-1+deb13u3 | fixed |
| Debian | nodejs | bookworm | 18.20.4+dfsg-1~deb12u2 | not affected |
| Debian | nodejs | bookworm-security | 18.20.4+dfsg-1~deb12u3 | not affected |
| Cpe | nodejs | Not reported | Not reported | not affected |
| Cpe | node.js | Not reported | Not reported | unknown |
| Alpine | nodejs | 3.21 | 22.22.2-r0 | fixed |
| Alpine | nodejs | 3.22 | 22.22.2-r0 | fixed |
| Alpine | nodejs | 3.23 | 24.14.1-r0 | fixed |
| Alpine | nodejs | 3.24 | 24.14.1-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nodejs | source | sid | 22.22.2+dfsg+~cs22.19.15-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | forky | 22.22.2+dfsg+~cs22.19.15-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | trixie | 20.19.2+dfsg-1+deb13u2 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Alpine | nodejs | apk | 3.21 | 22.22.2-r0 | Not reported | ALPINE-CVE-2026-21715 | Not reported |
| Alpine | nodejs | apk | 3.22 | 22.22.2-r0 | Not reported | ALPINE-CVE-2026-21715 | Not reported |
| Alpine | nodejs | apk | 3.23 | 24.14.1-r0 | Not reported | ALPINE-CVE-2026-21715 | Not reported |
| Alpine | nodejs | apk | 3.24 | 24.14.1-r0 | Not reported | ALPINE-CVE-2026-21715 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libnode108]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
nvd · nodejs · debian · bookworm
- [libnode-dev]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
nvd · nodejs · debian · bookworm
- [nodejs]Not affected
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
nvd · nodejs · debian · bookworm
- [nodejs-doc]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookwormNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityNot affected
nvd · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityNot affected
nvd · nodejs · debian · bookworm
[Debian 13 (Trixie)]
- [libnode115]Fixed
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
- [libnode-dev]Fixed
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
- [nodejs]Fixed
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
- [nodejs-doc]Fixed
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-securityFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
20.19.2+dfsg-1+deb13u2nvd · nodejs · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-21715]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-21715]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-21715]
- [https://security-tracker.debian.org/tracker/CVE-2026-21715]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21715.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0843.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]