A flaw in Node.js’s Permissions model allows attackers to bypass --allow-fs-read and --allow-fs-write restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise.
This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"nodejs:node.js": [
">= 20.0.0, < 20.20.0",
">= 22.0.0, < 22.22.0",
">= 24.0.0, < 24.13.0",
">= 25.0.0, < 25.3.0"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-55130",
"id": "CVE-2025-55130",
"imported": "2026-12-04T20:13:54.392Z",
"modified": "2026-07-15T02:17:27.940Z",
"published": "2026-01-20T21:16:03.177Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-55130"
},
{
"html_url": "https://github.com/advisories/GHSA-62wc-jj78-f4f6",
"id": "GHSA-62wc-jj78-f4f6",
"imported": "2026-12-04T20:15:10.837Z",
"modified": "2026-06-30T03:35:27Z",
"published": "2026-01-20T21:31:35Z",
"url": "https://api.github.com/advisories/GHSA-62wc-jj78-f4f6"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-3338",
"id": "EUVD-2026-3338",
"imported": "2026-12-04T20:13:56.261Z",
"modified": "2026-07-15T01:26:03Z",
"published": "2026-01-20T20:41:55Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-3338"
}
]
}