Description
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**.
Published: 2026-07-31
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Node.js has a flaw in its permission model enforcement where calls to process.report can write or overwrite files beyond directories specified with the --allow-fs-write flag. This weakness, classified as CWE-284 (Improper Authorization) and CWE-73 (Absolute Path Traversal), allows an application to create or modify files outside the intended write boundaries, potentially exposing sensitive data or corrupting critical application files.

Affected Systems

The vulnerability targets the nodejs:node product, affecting the 22.x, 24.x, and 26.x release lines.

Risk and Exploitability

The CVSS score of 4.4 reflects a low-to-moderate severity, primarily due to the requirement that the attacker control code execution within the Node.js runtime. The EPSS score of < 1% indicates a very low probability of exploitation, and the issue is not listed in the CISA KEV catalog. Based on the description, the likely attack vector involves a malicious script or module executing within the Node.js environment and invoking process.report with a path that traverses outside the permitted directories. The absence of a publicly available remote exploitation path limits the immediate threat, but the confidentiality impact remains if the attacker can supply arbitrary file paths within the application's process context.

Generated by OpenCVE AI on August 5, 2026 at 13:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Node.js release that incorporates the permission model fix for the 22.x, 24.x, or 26.x series.
  • Restrict use of process.report by ensuring that applications only provide file paths that reside strictly within the --allow-fs-write directories or disable the feature if not required.
  • Implement file system monitoring to detect unexpected writes outside the defined write boundaries.

Generated by OpenCVE AI on August 5, 2026 at 13:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Title nodejs: Information disclosure due to improper permission enforcement
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-73
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Moderate


Mon, 03 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
Title Node.js Permission Model flaw enabling unauthorized file writes

Sun, 02 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs

Fri, 31 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Title Node.js Permission Model flaw enabling unauthorized file writes

Fri, 31 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
Description 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**.
Weaknesses CWE-284
References
Metrics cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2026-07-31T16:01:49.630Z

Reserved: 2026-06-27T15:00:00.779Z

Link: CVE-2026-58039

cve-icon Vulnrichment

Updated: 2026-07-31T16:01:45.499Z

cve-icon NVD

Status : Received

Published: 2026-07-31T01:16:31.530

Modified: 2026-07-31T16:17:08.120

Link: CVE-2026-58039

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-31T00:18:49Z

Links: CVE-2026-58039 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T13:45:03Z

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-73

    External Control of File Name or Path