CVE-2026-21716
JSON

3.3low

An incomplete fix for CVE-2024-36137 leaves FileHandle.chmod() and FileHandle.chown() in the promises API without the required permission c…

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

Description

An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without the required permission checks, while their callback-based equivalents (`fs.fchmod()`, `fs.fchown()`) were correctly patched. As a result, code running under `--permission` with restricted `--allow-fs-write` can still use promise-based `FileHandle` methods to modify file permissions and ownership on already-open file descriptors, bypassing the intended write restrictions. This vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` 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.1CVE 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:N/I:L/A:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-862

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

What each source says

CVE List

An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without the required permission checks, while their callback-based equivalents (`fs.fchmod()`, `fs.fchown()`) were correctly patched. As a result, code running under `--permission` with restricted `--allow-fs-write` can still use promise-based `FileHandle` methods to modify file permissions and ownership on already-open file descriptors, bypassing the intended write restrictions. This vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` is intentionally restricted.

NVD (es)

Una solución incompleta para CVE-2024-36137 deja `FileHandle.chmod()` y `FileHandle.chown()` en la API de promesas sin las comprobaciones de permisos requeridas, mientras que sus equivalentes basados en callbacks (`fs.fchmod()`, `fs.fchown()`) fueron parcheados correctamente. Como resultado, el código que se ejecuta bajo `--permission` con `--allow-fs-write` restringido aún puede usar métodos `FileHandle` basados en promesas para modificar los permisos y la propiedad de los archivos en descriptores de archivo ya abiertos, eludiendo las restricciones de escritura previstas. Esta vulnerabilidad afecta a los procesos 20.x, 22.x, 24.x y 25.x que utilizan el Modelo de Permisos donde `--allow-fs-write` está restringido intencionalmente.

References

Sources

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