CVE-2025-55130
nodejs node: Improper Preservation of Permissions
Check your servers for CVE-2025-55130
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-55130 affects node, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.73%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 78.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Jan 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| node |
affected from 20.19.6 up to and including 20.19.6 affected from 22.21.1 up to and including 22.21.1 affected from 24.12.0 up to and including 24.12.0 affected from 25.2.1 up to and including 25.2.1
Other versions: unaffected
|
Is my server affected?
Find the installed version of node and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i node
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-55130 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-55130RHEL, Rocky, Alma, Fedora
rpm -q node
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-55130Alpine
apk list --installed | grep -i nodeWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-55130
trivy image --scanners vuln IMAGE | grep CVE-2025-55130
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2025-55130 access.redhat.com · vdb entry
- RHBZ#2431352 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:2899 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:1843 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:1842 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2422 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2421 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2420 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2768 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2767 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2864 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2783 access.redhat.com · vendor advisory
6 more
- https://access.redhat.com/errata/RHSA-2026:2782 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2781 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7386 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7387 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6402 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6431 access.redhat.com · vendor advisory
Other references
- https://nodejs.org/en/blog/vulnerability/december-2025-security-releases nodejs.org
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55130.json security.access.redhat.com
Source: the record CVE-2025-55130 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse