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

[CVE catalog]

Severity
Low · CVSS 3.3CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannodejssid24.22.1+dfsg+~cs24.19.2-1fixed
Debiannodejsforky24.21.0+dfsg+~cs24.13.4-1fixed
Debiannodejstrixie20.19.2+dfsg-1+deb13u2fixed
Debiannodejstrixie-security20.19.2+dfsg-1+deb13u3fixed
Debiannodejsbookworm18.20.4+dfsg-1~deb12u2not affected
Debiannodejsbookworm-security18.20.4+dfsg-1~deb12u3not affected
CpenodejsNot reportedNot reportednot affected
Cpenode.jsNot reportedNot reportedunknown
Alpinenodejs3.2122.22.2-r0fixed
Alpinenodejs3.2222.22.2-r0fixed
Alpinenodejs3.2324.14.1-r0fixed
Alpinenodejs3.2424.14.1-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannodejssourcesid22.22.2+dfsg+~cs22.19.15-1not yet assignedNot reportedNot reported
Debiannodejssourceforky22.22.2+dfsg+~cs22.19.15-1not yet assignedNot reportedNot reported
Debiannodejssourcetrixie20.19.2+dfsg-1+deb13u2not yet assignedNot reportedNot reported
DebiannodejssourcebookwormNot affectedunimportantNot reportedNot reported
Alpinenodejsapk3.2122.22.2-r0Not reportedALPINE-CVE-2026-21715Not reported
Alpinenodejsapk3.2222.22.2-r0Not reportedALPINE-CVE-2026-21715Not reported
Alpinenodejsapk3.2324.14.1-r0Not reportedALPINE-CVE-2026-21715Not reported
Alpinenodejsapk3.2424.14.1-r0Not reportedALPINE-CVE-2026-21715Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libnode108]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

  • [libnode-dev]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

  • [nodejs]Not affected
    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

  • [nodejs-doc]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · all · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

[Debian 13 (Trixie)]

  • [libnode115]Fixed

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

  • Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

  • [nodejs]Fixed
    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

  • [nodejs-doc]Fixed

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · all · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

Observed:

References