{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-21716","id":"CVE-2026-21716","title":"An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without…","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 permiss","descriptionLong":"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.","published":"2026-03-30T19:07:28.538Z","updated":"2026-10-28T02:31:04.970039862Z","reserved":"2026-01-04T15:00:06.575Z","status":"Analyzed","rejected":false,"assigner":"hackerone","metric":{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"hackerone"},"metrics":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"hackerone"},{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"hackerone.com"},{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"}],"rating":"low","products":["nodejs node"],"affectedProducts":[{"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"}],"platforms":[]}],"packages":[],"cwes":["CWE-862"],"aliases":["BIT-node-2026-21716","BIT-node-min-2026-21716"],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases","tags":["Vendor Advisory","article"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21716.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21716","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00145,"epssPercentile":0.03839,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-21716","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21716","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-21716","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-21716","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["nodejs"],"critical":[],"attention":null}