CVE Vulnerabilities

CVE-2026-48935

Incorrect Default Permissions

Published: Jun 26, 2026 | Modified: Jun 26, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

During installation, installed file permissions are set to allow anyone to modify those files.

Affected Software

NameVendorStart VersionEnd Version
Node.jsNodejs22.22.3 (including)22.22.3 (including)
Node.jsNodejs24.16.0 (including)24.16.0 (including)
Node.jsNodejs26.3.0 (including)26.3.0 (including)
Red Hat Enterprise Linux 10RedHatnodejs24-1:24.18.0-1.el10_2*
Red Hat Enterprise Linux 10RedHatnodejs22-1:22.23.1-2.el10_2*
Red Hat Enterprise Linux 9RedHatnodejs:24-9080020260626074955.rhel9*
Red Hat Enterprise Linux 9RedHatnodejs:22-9080020260626075442.rhel9*
Red Hat Hardened ImagesRedHatnodejs26-main-26.4.0-1.3.hum1*
Red Hat Hardened ImagesRedHatnodejs24-main-24.18.0-0.2.hum1*
Red Hat Hardened ImagesRedHatnodejs22-main-22.23.1-2.hum1*
Red Hat Hardened ImagesRedHatnodejs25-main-25.9.0-1.1.hum1*
Red Hat Hardened ImagesRedHatnodejs20-main-20.20.2-1.hum1*
NodejsUbuntuquesting*

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References