You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Node.js 20.x and 22.x versions you can update npm yourself as a workaround, instead of relying on the version of npm bundled with Node.js, for instance:
If you are able to update your local npm copy with npm install, then that would be your fastest solution.
If you are asking about a Node.js release with a fix, then I suggest you read #58847 which has moved the fix into Node.js 22.x staging waiting for the next release, and identifies an issue preventing backporting to Node.js 20.x.
Activity
MikeMcC399 commentedon Jul 28, 2025
@frederi-co
You didn't mention which version of Node.js you are interested in. It's already fixed in the bundled version of npm in Node.js >= 24.3.0.
The low severity brace-expansion vulnerability CVE-2025-5889 was resolved in npm@11.4.2 and npm@10.9.3.
Workaround
For Node.js 20.x and 22.x versions you can update npm yourself as a workaround, instead of relying on the version of npm bundled with Node.js, for instance:
MikeMcC399 commentedon Jul 28, 2025
See also PR #58847
frederi-co commentedon Jul 28, 2025
Thanks, I am looking at Node20.x and 22.x
MikeMcC399 commentedon Jul 28, 2025
@frederi-co
If you are able to update your local npm copy with
npm install, then that would be your fastest solution.If you are asking about a Node.js release with a fix, then I suggest you read #58847 which has moved the fix into Node.js 22.x staging waiting for the next release, and identifies an issue preventing backporting to Node.js 20.x.
juanarbol commentedon Jul 28, 2025
This is not a Node.js bug. I'm closing this.
MikeMcC399 commentedon Aug 1, 2025
Node.js 22.18.0 updated to npm@10.9.3 which removes the low severity vulnerability CVE-2025-5889 in the Node.js
22.xbundle