{"id":"CVE-2026-21716","aliases":["CVE-2026-21716","BIT-NODE-2026-21716","BIT-NODE-MIN-2026-21716"],"related":[],"kind":"vulnerability","state":"published","title":"An incomplete fix for CVE-2024-36137 leaves FileHandle.chmod() and FileHandle.chown() in the promises API without the required permission c…","summary":"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.\n\nAs 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.\n\nThis vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` is intentionally restricted.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAs 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.\n\nThis vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` is intentionally restricted.","source":"cvelist"},{"lang":"es","text":"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.\n\nComo 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.\n\nEsta 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.","source":"nvd"}],"published":"2026-03-30T19:07:28.538Z","modified":"2026-09-08T08:48:17.540Z","severity":{"scorer":"hackerone","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},"severities":[{"scorer":"hackerone","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"20.20.1","lastAffected":"20.20.1","status":"affected"},{"type":"semver","introduced":"22.22.1","lastAffected":"22.22.1","status":"affected"},{"type":"semver","introduced":"24.14.0","lastAffected":"24.14.0","status":"affected"},{"type":"semver","introduced":"25.8.1","lastAffected":"25.8.1","status":"affected"}],"vendor":"nodejs","product":"node","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"20.20.1"},{"status":"affected","introduced":"22.0.0","lastAffected":"22.22.1"},{"status":"affected","introduced":"24.0.0","lastAffected":"24.14.0"},{"status":"affected","introduced":"25.0.0","lastAffected":"25.8.1"}],"vendor":"nodejs","product":"node.js","cpe":"cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"20.20.2"},{"type":"semver","introduced":"21.0.0","status":"affected","fixed":"22.22.2"},{"type":"semver","introduced":"23.0.0","status":"affected","fixed":"24.14.1"},{"type":"semver","introduced":"25.0.0","status":"affected","fixed":"25.8.2"}],"ecosystem":"Bitnami","package":"node","purl":"pkg:bitnami/node","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"20.20.2"},{"type":"semver","introduced":"21.0.0","status":"affected","fixed":"22.22.2"},{"type":"semver","introduced":"23.0.0","status":"affected","fixed":"24.14.1"},{"type":"semver","introduced":"25.0.0","status":"affected","fixed":"25.8.2"}],"ecosystem":"Bitnami","package":"node-min","purl":"pkg:bitnami/node-min","source":"bitnami"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21716","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"hackerone","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-31T14:27:06.373Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-21716","url":"https://www.cve.org/CVERecord?id=CVE-2026-21716","licence":"CVE Terms of Use","modified":"2026-03-31T14:27:23.323Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-21716","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21716","licence":"Public domain","modified":"2026-08-19T13:18:02.937Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NODE-2026-21716","url":"https://osv.dev/vulnerability/BIT-NODE-2026-21716","licence":"Apache-2.0","modified":"2026-09-08T08:48:10.752Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NODE-MIN-2026-21716","url":"https://osv.dev/vulnerability/BIT-NODE-MIN-2026-21716","licence":"Apache-2.0","modified":"2026-09-08T08:48:17.540Z"}],"updatedAt":"2026-11-25T22:59:17.527Z","epss":{"score":0.00155,"percentile":0.04845,"date":"2026-12-01T12:00:22.000Z"}}