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

- Severity: Low 3.3 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-03-30T19:07:28.538Z
- Modified: 2026-09-08T08:48:17.540Z
- Also known as: BIT-NODE-2026-21716, BIT-NODE-MIN-2026-21716
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- nodejs node: from 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.1
- nodejs node.js: up 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.1
- 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.2
- 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.2

## Every score

- hackerone: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Low

## References

- <https://nodejs.org/en/blog/vulnerability/march-2026-security-releases> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21716> (web)

## Sources

- CVE List: [CVE-2026-21716](https://www.cve.org/CVERecord?id=CVE-2026-21716), CVE Terms of Use, modified 2026-03-31
- NVD: [CVE-2026-21716](https://nvd.nist.gov/vuln/detail/CVE-2026-21716), Public domain, modified 2026-08-19
- Bitnami Vulnerability Database: [BIT-NODE-2026-21716](https://osv.dev/vulnerability/BIT-NODE-2026-21716), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2026-21716](https://osv.dev/vulnerability/BIT-NODE-MIN-2026-21716), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-21716 · Whole record: https://cve.day/CVE-2026-21716.json · Rebuilt by cve.day 2026-11-25T22:59:17.527Z
