CVE-2025-55132: fs.futimes() Bypasses Read-Only Permission Model

Published Jan 13, 2026
·
Updated

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.

Other sources

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.

— Node.Js

Affected Software

26 affected componentsFixes available
npm/node
Nodejs Node.js>=20.0.0<20.20.0
Nodejs Node.js>=22.0.0<22.22.0
Nodejs Node.js>=24.0.0<24.13.0
Nodejs Node.js>=25.0.0<25.3.0
Node.js Node.js>=20.0.0<20.20.0, >=22.0.0<22.22.0, >=24.0.0<24.13.0, >=25.0.0<25.3.0
20.20.022.22.024.13.025.3.0
Node.js Node.js>=20.0.0<20.20.0
20.20.0
Node.js Node.js>=22.0.0<22.22.0
22.22.0
Node.js Node.js>=24.0.0<24.13.0
24.13.0
Node.js Node.js>=25.0.0<25.3.0
25.3.0
debian/nodejs
20.19.2+dfsg-1+deb13u122.22.0+dfsg+~cs22.19.6-1
ubuntu/nodejs*
ubuntu/nodejs*
ubuntu/nodejs*
ubuntu/nodejs*
ubuntu/nodejs*
ubuntu/nodejs*
ubuntu/nodejs*
ubuntu/nodejs*
debian/nodejs<20.19.2+dfsg-1+deb13u1
20.19.2+dfsg-1+deb13u1
debian/nodejs<22.22.0+dfsg+~cs22.19.6-1
22.22.0+dfsg+~cs22.19.6-1
alpine/nodejs<22.22.2-r0
22.22.2-r0
alpine/nodejs<22.22.0-r0
22.22.0-r0
alpine/nodejs<24.13.0-r0
24.13.0-r0
alpine/nodejs<24.13.0-r0
24.13.0-r0
alpine/nodejs<24.13.0-r0
24.13.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.20.0Fixed in 22.22.0Fixed in 24.13.0Fixed in 25.3.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.20.0
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.22.0
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.13.0
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 25.3.0
  6. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 20.19.2+dfsg-1+deb13u1Fixed in 22.22.0+dfsg+~cs22.19.6-1
  7. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 20.19.2+dfsg-1+deb13u1
  8. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 22.22.0+dfsg+~cs22.19.6-1
  9. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 22.22.2-r0
  10. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 22.22.0-r0
  11. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 24.13.0-r0

Event History

Jan 13, 2026
CVE Published
via Node.js·12:00 AM
Data Sourced
via Node.js·12:00 AM
DescriptionSeverityAffected Software
Jan 20, 2026
CVE Published
via MITRE·08:41 PM
Data Sourced
via MITRE·08:41 PM
DescriptionSeverity
Data Sourced
via Red Hat·09:01 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·09:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 PM
DescriptionSeverity
Jan 21, 2026
Data Sourced
via NVD·07:16 PM
Weakness
Feb 3, 2026
Data Sourced
via NVD·09:27 PM
Affected Software
Updated
via NVD·09:27 PM
Severity
Event
via NVD·09:27 PM
Apr 8, 2026
Updated
via Red Hat·08:19 PM
Severity
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-55132?

CVE-2025-55132 is classified as a medium severity vulnerability due to its potential for unauthorized modification of file metadata.

2

How do I fix CVE-2025-55132?

To mitigate CVE-2025-55132, update to the latest version of Node.js where the vulnerability is patched.

3

What impact does CVE-2025-55132 have on file management in Node.js?

CVE-2025-55132 allows unauthorized changes to file access and modification timestamps, potentially compromising file integrity.

4

Which versions of Node.js are affected by CVE-2025-55132?

CVE-2025-55132 affects multiple versions of Node.js prior to the security patches released in December 2025.

5

Is there a workaround for CVE-2025-55132 if I cannot update Node.js?

There is no official workaround for CVE-2025-55132, making updating to a patched version the best mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203