Skip to content
TrackCVE
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2026-21715

A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()` without the required read permission checks,…

Low3.3EPSS 0.15%
Published
Updated
Reserved
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.

Timeline

  1. ID reserved

    By hackerone

  2. · 3 months later

    Published

  3. · 6 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2026-21715, by who scored it
Scored byCVSSScoreVector
hackeroneCNA (assigner)3.0Low3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVDNVD · Analyzed3.0Low3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS (exploitation in 30 days)
0.15% · top 96% of all CVEs (7 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.3.

Weakness

Affected products

  • nodejs · node

    • affected 20.20.1 – ≤ 20.20.1
    • affected 22.22.1 – ≤ 22.22.1
    • affected 24.14.0 – ≤ 24.14.0
    • affected 25.8.1 – ≤ 25.8.1
    • affected 4.0 – < 4.*
    • affected 5.0 – < 5.*
    • affected 6.0 – < 6.*
    • affected 7.0 – < 7.*
    • affected 8.0 – < 8.*
    • affected 9.0 – < 9.*
    • affected 10.0 – < 10.*
    • affected 11.0 – < 11.*
    • affected 12.0 – < 12.*
    • affected 13.0 – < 13.*
    • affected 14.0 – < 14.*
    • affected 15.0 – < 15.*
    • affected 16.0 – < 16.*
    • affected 17.0 – < 17.*
    • affected 18.0 – < 18.*
    • affected 19.0 – < 19.*

References (1)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2026-21715 badge
[![CVE-2026-21715](https://trackcve.app/badge/CVE-2026-21715.svg)](https://trackcve.app/cve/CVE-2026-21715)

Record last updated .