CVE-2026-56847

nodejs: Node.js: Permission Model flaw allows trace logs to bypass filesystem write restrictions

Published Jul 30, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
A flaw in Node.js Permission Model enforcement allows `trace_events.createTracing().enable()` Writes Trace Logs Outside `--allow-fs-write`.

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**.

Analysis

AI-generated

Technical impact

A flaw in Node.js permission model enforcement permits the call trace_events.createTracing().enable() to write trace logs outside the directory protected by the --allow-fs-write flag. This incorrect authorization can allow an application to create files in unintended locations, potentially exposing sensitive data or bypassing the intended security boundary. The weakness is classified as CWE-1119, indicating improper authorization, and also matches CWE-1220, a related authorization deficiency involving misuse of configuration.

Affected Systems

Node.js versions 22.x, 24.x, and 26.x are affected. Any application running under these releases that enables trace events may be impacted, especially when the process executes under a user account that has directory write permissions.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity, and the EPSS score of less than 1 % signals a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker must have code‑execution privileges within the Node.js process or must be able to invoke trace_events.createTracing().enable() through another vulnerability before the file‑write flaw can be exploited. The flaw alone does not provide remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched release of Node.js series 22, 24, or 26.
  • Avoid enabling trace events in applications or remove trace_events usage from the codebase.
  • If disabling trace events is not feasible, enforce stricter filesystem write permissions for the Node.js process or implement monitoring to detect and block unauthorized trace log writes.

Generated by OpenCVE AI on August 26, 2026 at 04:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6517-1 nodejs security update
History
Type Values Removed Values Added
First Time appeared Nodejs node.js
CPEs cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
Vendors & Products Nodejs node.js
Metrics cvssV3_1

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

cvssV3_1

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

Type Values Removed Values Added
Title Permission Model Bypass Allows Unauthorized Trace Log Writes in Node.js nodejs: Node.js: Permission Model flaw allows trace logs to bypass filesystem write restrictions
Weaknesses CWE-1220
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Low

Type Values Removed Values Added
Title Permission Model Bypass Allows Unauthorized Trace Log Writes in Node.js
Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A flaw in Node.js Permission Model enforcement allows `trace_events.createTracing().enable()` Writes Trace Logs Outside `--allow-fs-write`. 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-1119
References
Metrics cvssV3_0

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

Weaknesses
  • CWE-1119

    Excessive Use of Unconditional Branching

  • CWE-1220

    Insufficient Granularity of Access Control

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Jul 30, 2026, 12:35 PM
Reserved
Jun 23, 2026, 3:00 PM
Status
Analyzed
Published
Jul 30, 2026, 6:25 AM
Modified
Oct 23, 2026, 10:10 PM
Severity
Low
Public date
Jul 30, 2026, 6:02 AM