CVE catalog

CVE-2026-21716

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

[CVE catalog]

Severity
Medium · CVSS 4.4CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.15% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannodejssid24.22.1+dfsg+~cs24.19.2-1fixed
Debiannodejsforky24.21.0+dfsg+~cs24.13.4-1fixed
Debiannodejstrixie20.19.2+dfsg-1+deb13u2fixed
Debiannodejstrixie-security20.19.2+dfsg-1+deb13u3fixed
Debiannodejsbookworm18.20.4+dfsg-1~deb12u2not affected
Debiannodejsbookworm-security18.20.4+dfsg-1~deb12u3not affected
CpenodejsNot reportedNot reportednot affected
Cpenode.jsNot reportedNot reportedunknown
Alpinenodejs3.2122.22.2-r0fixed
Alpinenodejs3.2222.22.2-r0fixed
Alpinenodejs3.2324.14.1-r0fixed
Alpinenodejs3.2424.14.1-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannodejssourcesid22.22.2+dfsg+~cs22.19.15-1not yet assignedNot reportedNot reported
Debiannodejssourceforky22.22.2+dfsg+~cs22.19.15-1not yet assignedNot reportedNot reported
Debiannodejssourcetrixie20.19.2+dfsg-1+deb13u2not yet assignedNot reportedNot reported
DebiannodejssourcebookwormNot affectedunimportantNot reportedNot reported
Alpinenodejsapk3.2122.22.2-r0Not reportedALPINE-CVE-2026-21716Not reported
Alpinenodejsapk3.2222.22.2-r0Not reportedALPINE-CVE-2026-21716Not reported
Alpinenodejsapk3.2324.14.1-r0Not reportedALPINE-CVE-2026-21716Not reported
Alpinenodejsapk3.2424.14.1-r0Not reportedALPINE-CVE-2026-21716Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libnode108]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

  • [libnode-dev]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

  • [nodejs]Not affected
    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

  • [nodejs-doc]Not affected

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · all · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm-security

      Not affected

      nvd · nodejs · debian · bookworm

[Debian 13 (Trixie)]

  • [libnode115]Fixed

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

  • Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

  • [nodejs]Fixed
    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

  • [nodejs-doc]Fixed

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · all · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 20.19.2+dfsg-1+deb13u2

      nvd · nodejs · debian · 13

Observed:

References