{"id":"JLSEC-2026-1950","summary":"A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()`...","details":"A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()` without the required read permission checks, while all comparable filesystem functions correctly enforce them.\n\nAs a result, code running under `--permission` with restricted `--allow-fs-read` can still use `fs.realpathSync.native()` to check file existence, resolve symlink targets, and enumerate filesystem paths outside of permitted directories.\n\nThis vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-read` is intentionally restricted.","modified":"2026-12-02T15:58:35.768665684Z","published":"2026-12-02T15:31:00.452Z","upstream":["CVE-2026-21715","EUVD-2026-17178","GHSA-8jgr-5cgv-g667"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2026-21715","imported":"2026-12-02T14:45:39.981Z","modified":"2026-08-19T13:32:49.980Z","published":"2026-03-30T20:16:19.703Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-21715","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21715","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"]}},{"modified":"2026-04-01T18:36:54Z","published":"2026-03-30T21:31:04Z","url":"https://api.github.com/advisories/GHSA-8jgr-5cgv-g667","html_url":"https://github.com/advisories/GHSA-8jgr-5cgv-g667","id":"GHSA-8jgr-5cgv-g667","imported":"2026-12-02T14:46:00.533Z"},{"modified":"2026-09-17T18:36:37Z","published":"2026-03-30T19:07:28Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-17178","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-17178","id":"EUVD-2026-17178","imported":"2026-12-02T14:45:41.716Z"}]},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-8jgr-5cgv-g667"},{"type":"WEB","url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21715"}],"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-1950.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-1950.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-1950.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-1950.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-1950.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:L/I:N/A:N","source":"CNA"}]}