Update bundled undici to address CVE-2026-12151 (DoS via WebSocket fragment count bypass) #199906
🏷️ Discussion TypeQuestion BodyHello npm CLI maintainers, CVE-2026-12151 – WebSocket client DoS via fragment count bypass According to the official advisory, the vulnerability is fixed in: undici >= 6.27.0 (6.x line) However, npm CLI 11.17.0 still includes undici 6.26.x, which falls within the vulnerable range. |
Answered by
GARJE-01
Jun 23, 2026
Replies: 2 comments 6 replies
This comment was marked as low quality.
This comment was marked as low quality.
|
Thanks @GARJE-01 for resolving my question. It looks like the fix is still in progress here: I think this will simply require npm CLI to pull in the updated dependency set once the node-gyp update. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Thanks for following up and sharing the upstream reference.
The dependency path and the node-gyp issue seem to explain why the vulnerable version is still appearing:
npm CLI → node-gyp → undici@6.26.0
Based on the information provided, it sounds like this is no longer a question of whether the dependency exists, but rather when the updated node-gyp release is incorporated into npm CLI's dependency tree.
For anyone finding this discussion later:
undici@6.26.0transitively throughnode-gyp@13.0.0.