{"id":"CVE-2026-21716","state":"PUBLISHED","title":"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 equ","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.\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.","publishedAt":"2026-03-30T19:07:28.538Z","updatedAt":"2026-03-31T14:27:23.323Z","severity":{"score":3.3,"label":"Low","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"hackerone"},"assigner":"hackerone","products":["nodejs node"],"affected":[{"vendor":"nodejs","product":"node","defaultStatus":"unaffected","versions":[{"version":"20.20.1","status":"affected","lessThanOrEqual":"20.20.1","versionType":"semver"},{"version":"22.22.1","status":"affected","lessThanOrEqual":"22.22.1","versionType":"semver"},{"version":"24.14.0","status":"affected","lessThanOrEqual":"24.14.0","versionType":"semver"},{"version":"25.8.1","status":"affected","lessThanOrEqual":"25.8.1","versionType":"semver"}]}],"references":["https://nodejs.org/en/blog/vulnerability/march-2026-security-releases"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/21xxx/CVE-2026-21716.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-21716","state":"PUBLISHED","datePublished":"2026-03-30T19:07:28.538Z","dateUpdated":"2026-03-31T14:27:23.323Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2026-01-04T15:00:06.575Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nodejs","product":"node","defaultStatus":"unaffected","versions":[{"version":"20.20.1","status":"affected","lessThanOrEqual":"20.20.1","versionType":"semver"},{"version":"22.22.1","status":"affected","lessThanOrEqual":"22.22.1","versionType":"semver"},{"version":"24.14.0","status":"affected","lessThanOrEqual":"24.14.0","versionType":"semver"},{"version":"25.8.1","status":"affected","lessThanOrEqual":"25.8.1","versionType":"semver"}]}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases"}],"metrics":[{"cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","baseScore":3.3,"baseSeverity":"LOW"}}],"providerMetadata":{"shortName":"hackerone","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateUpdated":"2026-03-30T19:07:28.538Z"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-31T14:27:06.373734Z","id":"CVE-2026-21716","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","type":"CWE","lang":"en","description":"CWE-862 Missing Authorization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-31T14:27:23.323Z"}}]}}}