{"id":"JLSEC-2026-1951","summary":"An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the...","details":"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.\n\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.\n\nThis vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` is intentionally restricted.","modified":"2026-12-02T15:58:34.844696118Z","published":"2026-12-02T15:31:00.452Z","upstream":["CVE-2026-21716","EUVD-2026-17180","GHSA-22vj-v4r3-878v"],"database_specific":{"license":"CC-BY-4.0","sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21716","database_specific":{"status":"Analyzed"},"affected":{"nodejs:node.js":["\u003c= 20.20.1","\u003e= 22.0.0, \u003c= 22.22.1","\u003e= 24.0.0, \u003c= 24.14.0","\u003e= 25.0.0, \u003c= 25.8.1"]},"id":"CVE-2026-21716","imported":"2026-12-02T14:45:39.988Z","modified":"2026-08-19T13:18:02.937Z","published":"2026-03-30T20:16:19.873Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-21716"},{"published":"2026-03-30T21:31:04Z","url":"https://api.github.com/advisories/GHSA-22vj-v4r3-878v","html_url":"https://github.com/advisories/GHSA-22vj-v4r3-878v","id":"GHSA-22vj-v4r3-878v","imported":"2026-12-02T14:46:00.814Z","modified":"2026-03-31T15:32:59Z"},{"url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-17180","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-17180","id":"EUVD-2026-17180","imported":"2026-12-02T14:45:41.718Z","modified":"2026-03-31T14:27:23Z","published":"2026-03-30T19:07:28Z"}]},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-22vj-v4r3-878v"},{"type":"WEB","url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21716"}],"affected":[{"package":{"name":"NodeJS_16_jll","ecosystem":"Julia","purl":"pkg:julia/NodeJS_16_jll?uuid=a4b94fbf-73f5-58ff-888d-48a8396e17f6"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1951.json"}},{"package":{"name":"NodeJS_18_jll","ecosystem":"Julia","purl":"pkg:julia/NodeJS_18_jll?uuid=c1e1d063-8311-5f52-a749-c7b05e91ae37"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1951.json"}},{"package":{"name":"NodeJS_20_jll","ecosystem":"Julia","purl":"pkg:julia/NodeJS_20_jll?uuid=c7aee132-11e1-519c-8219-0a43005e73c2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1951.json"}},{"package":{"name":"NodeJS_22_jll","ecosystem":"Julia","purl":"pkg:julia/NodeJS_22_jll?uuid=8fca9ca2-e7a1-5ccf-8c05-43be5a78664f"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1951.json"}},{"package":{"name":"libnode_jll","ecosystem":"Julia","purl":"pkg:julia/libnode_jll?uuid=76d26698-d9ba-5ca1-ae24-4ac9393d02a0"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1951.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"CNA"}]}