JLSEC-2026-2470: A flaw in Node.js's permission model allows a file's access and modification timestamps to be...
A flaw in Node.js's permission model allows a file's access and modification timestamps to be changed via futimes() even when the process has only read permissions. Unlike utimes(), futimes() does not apply the expected write-permission checks, which means file metadata can be modified in read-only directories. This behavior could be used to alter timestamps in ways that obscure activity, reducing the reliability of logs. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are exposed?
Deployments using Node.js's permission model are affected on Node.js v20, v22, v24, and v25. The listed software includes julia/nodejs_20_jll and julia/nodejs_22_jll.
What does an attacker need to exploit this behavior?
The attack requires local access, low privileges, and user interaction, according to the supplied vector. The process must have read permission to a file; write permission is not required for changing its access and modification timestamps through futimes().
Are read-only directories protected from this issue?
No. A process with only read permissions can modify file access and modification timestamps with futimes(), including for files in read-only directories.
What is the practical impact?
The issue changes file metadata only: confidentiality is rated low, while integrity and availability are rated none. Altered timestamps can obscure activity and reduce the reliability of timestamp-based logs or investigations.