All vulnerabilities

Servers and applications

CVE-2026-21716

CVE-2024-36137 Patch Bypass - FileHandle.chmod/chown

Severity
Low 3.3
Published
24 Mar 2026
Last changed
19 Aug 2026
Added to UpHeron
21 Oct 2026
Fixed in
20.20.2, 22.22.2, 24.14.1, 25.8.2
Sources
NVD, nodejs

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…

Affected software

SoftwareAffected versions
Node.jsServers and applications · cpe:a:nodejs:node.js
  • From 25.0.0 before 25.8.2
  • From 25.0.0 up to 25.8.1
  • From 24.0.0 before 24.14.1
  • From 24.0.0 up to 24.14.0
All 8 release lines
  • Every version up to 20.20.1
  • From 20.0.0 before 20.20.2
  • From 22.0.0 up to 22.22.1
  • From 22.0.0 before 22.22.2
  • From 24.0.0 up to 24.14.0
  • From 24.0.0 before 24.14.1
  • From 25.0.0 up to 25.8.1
  • From 25.0.0 before 25.8.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-21716
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-21716
  • Node.js security release https://nodejs.org/en/blog/vulnerability/march-2026-security-releases