Home

Description

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.

PUBLISHED Reserved 2025-08-07 | Published 2026-01-20 | Updated 2026-01-22 | Assigner hackerone




HIGH: 7.1CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Product status

Default status
unaffected

20.19.6 (semver)
affected

22.21.1 (semver)
affected

24.12.0 (semver)
affected

25.2.1 (semver)
affected

References

nodejs.org/.../vulnerability/december-2025-security-releases

cve.org (CVE-2025-55130)

nvd.nist.gov (CVE-2025-55130)

Download JSON