Improper Preservation of Permissions Affecting nodejs22 package, versions <0:22.22.0-1.3.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (7th 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-RHEL10-NODEJS22-16065652
  • published19 Apr 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

CVE-2026-21636  (opens in a new tab)
CWE-281  (opens in a new tab)

How to fix?

Upgrade RHEL:10 nodejs22 to version 0:22.22.0-1.3.hum1 or higher.
This issue was patched in RHSA-2026:7387.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs22 package and not the nodejs22 package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

A flaw in Node.js's permission model allows Unix Domain Socket (UDS) connections to bypass network restrictions when --permission is enabled. Even without --allow-net, attacker-controlled inputs (such as URLs or socketPath options) can connect to arbitrary local sockets via net, tls, or undici/fetch. This breaks the intended security boundary of the permission model and enables access to privileged local services, potentially leading to privilege escalation, data exposure, or local code execution.

  • The issue affects users of the Node.js permission model on version v25.

In the moment of this vulnerability, network permissions (--allow-net) are still in the experimental phase.

CVSS Base Scores

version 3.1