External Control of File Name or Path Affecting nodejs:22/nodejs package, versions <1:22.23.2-1.module+el8.10.0+24710+c2e9b41f


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.16% (4th 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-RHEL8-NODEJS-18566563
  • published6 Aug 2026
  • disclosed31 Jul 2026

Introduced: 31 Jul 2026

CVE-2026-58039  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade RHEL:8 nodejs:22/nodejs to version 1:22.23.2-1.module+el8.10.0+24710+c2e9b41f or higher.
This issue was patched in RHSA-2026:62219.

NVD Description

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

A flaw in Node.js Permission Model enforcement allows process.report writes (and overwrites) files outside --allow-fs-write paths.

This can lead to confidentiality impact or bypass of the intended security boundary under affected configurations.

This vulnerability affects Node.js 22.x, 24.x, and 26.x.

CVSS Base Scores

version 3.1