Improper Preservation of Permissions Affecting nodejs:20/nodejs-packaging package, versions <0:2021.06-4.module+el9.6.0+23146+be9976bd


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.01% (2nd 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-RHEL9-NODEJS-15509093
  • published13 Mar 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

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

How to fix?

Upgrade RHEL:9 nodejs:20/nodejs-packaging to version 0:2021.06-4.module+el9.6.0+23146+be9976bd or higher.
This issue was patched in RHSA-2026:2767.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:20/nodejs-packaging package and not the nodejs:20/nodejs-packaging package as distributed by RHEL. See How to fix? for RHEL:9 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