Summary
firebase-tools currently declares ws: "^7.5.10" as a direct dependency. This semver range resolves to the latest 7.x patch release, which is vulnerable to CVE-2026-48779 — a remote memory exhaustion DoS vulnerability fixed in ws@8.21.0.
Vulnerability details
- CVE: CVE-2026-48779
- Severity: High
- Fix:
ws >= 8.21.0
- Description: A high volume of tiny fragments and data chunks can be sent by a peer using modest network traffic to crash a
ws server or client due to OOM.
- Fixed in:
ws@8.21.0 (released) and ws@8.21.1
See: https://github.com/websockets/ws/releases/tag/8.21.0
Current state
As of firebase-tools@15.24.0 (latest), package.json still declares:
This range will never resolve to 8.x, so the vulnerability persists regardless of what ws version is available in the npm registry.
Request
Please bump the ws dependency to ^8.21.1 (or >=8.21.1).
Without this, consumers are forced to use npm overrides / yarn resolutions workarounds to force a safe version:
"resolutions": {
"ws": ">=8.21.1"
}
This is a maintenance burden and easy to miss in downstream projects. An upstream fix in firebase-tools is the correct long-term solution.
Summary
firebase-toolscurrently declaresws: "^7.5.10"as a direct dependency. This semver range resolves to the latest7.xpatch release, which is vulnerable to CVE-2026-48779 — a remote memory exhaustion DoS vulnerability fixed inws@8.21.0.Vulnerability details
ws >= 8.21.0wsserver or client due to OOM.ws@8.21.0(released) andws@8.21.1See: https://github.com/websockets/ws/releases/tag/8.21.0
Current state
As of
firebase-tools@15.24.0(latest),package.jsonstill declares:This range will never resolve to
8.x, so the vulnerability persists regardless of whatwsversion is available in the npm registry.Request
Please bump the
wsdependency to^8.21.1(or>=8.21.1).Without this, consumers are forced to use npm
overrides/ yarnresolutionsworkarounds to force a safe version:This is a maintenance burden and easy to miss in downstream projects. An upstream fix in
firebase-toolsis the correct long-term solution.