CVE-2026-21715
JSON

3.3low

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

Severity
3.3low CVSS:3.0 by hackerone
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2026-21715BIT-NODE-MIN-2026-21715

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.

Affected

Product or packageVersionsReported by
nodejs nodefrom 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.* and 12 moreCVE List
nodejs node.jsup 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.1NVD
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.2Bitnami Vulnerability Database
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.2Bitnami Vulnerability Database

All scores

hackerone3.3low CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una falla en la aplicación del modelo de permisos del sistema de archivos de Node.js deja a 'fs.realpathSync.native()' sin las comprobaciones de permisos de lectura requeridas, mientras que todas las funciones comparables del sistema de archivos las aplican correctamente. Como resultado, el código que se ejecuta bajo '--permission' con '--allow-fs-read' restringido aún puede usar 'fs.realpathSync.native()' para verificar la existencia de archivos, resolver destinos de enlaces simbólicos y enumerar rutas del sistema de archivos fuera de los directorios permitidos. Esta vulnerabilidad afecta a los procesos 20.x, 22.x, 24.x y 25.x que utilizan el Modelo de Permisos donde '--allow-fs-read' está restringido intencionalmente.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-21715 changed 2026-09-17CVE Terms of Use
NVDCVE-2026-21715 changed 2026-08-19Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2026-21715 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2026-21715 changed 2026-09-08Apache-2.0