Authorization Bypass Affecting nodejs/node package, versions [,20.15.1)[22.0.0,22.4.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NODEJSNODE-10669936
  • published9 Jul 2025
  • disclosed9 Jul 2024
  • credit4xpl0r3r

Introduced: 9 Jul 2024

CVE-2024-36137  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade nodejs/node to version 20.15.1, 22.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass via fs.fchown or fs.fchmod operations which can use a "read-only" file descriptor to change the owner and permissions of a file.

Note: This is only exploitable for users using the experimental permission when the --allow-fs-write flag is used

CVSS Base Scores

version 4.0
version 3.1