CVE-2025-55130 Affecting nodejs-22 package, versions <22.22.0-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-NODEJS22-15227150
  • published5 Feb 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

CVE-2025-55130  (opens in a new tab)

How to fix?

Upgrade Chainguard nodejs-22 to version 22.22.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-22 package and not the nodejs-22 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1