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 r...
Original description
The description as published by the source.
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 packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2025-55132 nodejs Fixed in: 22.22.2-r0
- Debian DEBIAN-CVE-2025-55132 nodejs Fixed in: 20.19.2+dfsg-1+deb13u1
- Ubuntu UBUNTU-CVE-2025-55132 nodejs
References
- advisory nvd.nist.gov
- advisory github.com
- web nodejs.org