{"id":"CVE-2026-21716","published":"2026-03-30T19:07:28Z","modified":"2026-03-31T14:27:23Z","title":"An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without…","vendor":"nodejs","product":"node","tier":"tail","description":{"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.\r\n\r\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.\r\n\r\nThis vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` is intentionally restricted.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00145,"percentile":0.03822,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":0.76},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"node","versions":[">= 20.20.1, <= 20.20.1",">= 22.22.1, <= 22.22.1",">= 24.14.0, <= 24.14.0",">= 25.8.1, <= 25.8.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-31T14:27:06.373734Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-17180","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodejs-node-cve-2024-36137","parents":[{"from":"CVE-2024-36137","to":"CVE-2026-21716","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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 pat…","from":"CVE.org","in":"CVE-2026-21716"},{"kind":"similar","provenance":"machine","score":0.38,"basis":"same product + description similarity"}]}]}}