CVE-2026-48935

nodejs: Node.js: Unauthorized file metadata modification

Published Jun 26, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
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**.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Debian DSA Debian DSA DSA-6517-1 nodejs security update
History
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

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Title Node.js Permission API Allows File Metadata Modification on Read-Only Paths
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'}

Weaknesses
  • CWE-276

    Incorrect Default Permissions

  • CWE-279

    Incorrect Execution-Assigned Permissions

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Jun 26, 2026, 3:05 PM
Reserved
May 26, 2026, 3:00 PM
Status
Analyzed
Published
Jun 26, 2026, 2:16 AM
Modified
Oct 25, 2026, 10:10 PM
Severity
Low
Public date
Jun 26, 2026, 1:14 AM