Description
A flaw in Node.js Permission API can cause a file metadata to be modified even on a path that was set as read-only with e.g. `--allow-fs-read`.

This vulnerability affects all supported release lines: **Node.js 22**, **Node.js 24**, and **Node.js 26**.
Published: 2026-06-26
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Node.js Permission API allows an application to change file metadata even when the target path has been marked read‑only with flags such as --allow-fs-read, enabling unexpected alteration of non‑executable attributes. This weakness falls under the Incorrect Default Permissions category and permits modification of data that should otherwise be immutable, potentially leading to configuration drift, audit failures, or subtle integrity violations. The impact is primarily a data integrity issue that could aid in further exploitation if metadata changes affect security controls or application logic.

Affected Systems

The vulnerability affects all currently supported Node.js release lines, including Node.js 22, Node.js 24, and Node.js 26. It is relevant to any deployment that employs the Permission API with read‑ flags, regardless of operating system or runtime environment.

Risk and Exploitability

The CVSS score of 3.3 reflects a low severity impact. The EPSS score is 0.00149 (<1%), and the vulnerability is not listed in CISA KEV, indicating low public exploitation pressure. The likely attack surface is local filesystem interaction within the Node.js runtime, requiring the attacker to run code with the same privileges as the application. Because the flaw permits changing non‑executable metadata on paths intended to, an attacker with local code execution could modify configuration details or other metadata that affects application behavior, but would not gain remote code execution or full control of the system on its own.

Generated by OpenCVE AI on June 27, 2026 at 01:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Node.js to the latest patched release of the 22, 24, or 26 series from the official Node.js distribution.
  • Avoid using the Permission API with read‑only flags such as --allow-fs-read when your code modifies file metadata.
  • Inspect and refactor application logic to remove unnecessary changes to file metadata on paths that are intended to remain read‑only.

Generated by OpenCVE AI on June 27, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 27 Jun 2026 00:15:00 +0000

Type Values Removed Values Added
Title Node.js Permission API Allows File Metadata Modification on Read-Only Paths nodejs: Node.js: Unauthorized file metadata modification
Weaknesses CWE-279
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


Fri, 26 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 26 Jun 2026 07:30:00 +0000

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

Fri, 26 Jun 2026 03:00:00 +0000

Type Values Removed Values Added
Title Node.js Permission API Allows File Metadata Modification on Read-Only Paths

Fri, 26 Jun 2026 01:30:00 +0000

Type Values Removed Values Added
Description A flaw in Node.js Permission API can cause a file metadata to be modified even on a path that was set as read-only with e.g. `--allow-fs-read`. This vulnerability affects all supported release lines: **Node.js 22**, **Node.js 24**, and **Node.js 26**.
Weaknesses CWE-276
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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2026-06-26T15:05:20.661Z

Reserved: 2026-05-26T15:00:06.427Z

Link: CVE-2026-48935

cve-icon Vulnrichment

Updated: 2026-06-26T15:04:44.216Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-06-26T01:14:36Z

Links: CVE-2026-48935 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-27T02:00:10Z

Weaknesses
  • CWE-276

    Incorrect Default Permissions

  • CWE-279

    Incorrect Execution-Assigned Permissions