Vulnerability in ws
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-48779 has been found in ws.
Attackers can target a specific entry point like maxPayload over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 7.5/10.
What to do: upgrade ws to 8.21.0 or later.
If unsure, ask your IT team or search "ws CVE-2026-48779" on the vendor's site.
CVE-2026-48779 (ws) — CWE-400 / CVSS v3 7.5
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: maxPayload
Patched: 8.21.0 — apply immediately
Workaround: In vulnerable versions, the issue can be mitigated by lowering the value of the maxPayload option if possible.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-400) exists in ws. Attackers reach the vulnerable code path via maxPayload without authentication.
Check the vendor advisory for the affected versions of ws. Attack surface: maxPayload.
Severity: High (CVSS 7.5/10). Risk of unauthorized operations or information disclosure.
Update to 8.21.0.
Workaround: In vulnerable versions, the issue can be mitigated by lowering the value of the maxPayload option if possible.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'ws' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'ws' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
wsを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
In vulnerable versions, the issue can be mitigated by lowering the value of the `maxPayload` option if possible.パッチが適用されるまでの応急処置として、In vulnerable versions, the issue can be mitigated by lowering the value of the
maxPayloadoption if possible. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3
Apply patchpatch
Upgrade ws to 8.21.0ステージング環境で 8.21.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmws |
< 8.21.0→ 8.21.0 |
8.21.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-48779 node-ws Fix available
- Ubuntu UBUNTU-CVE-2026-48779 node-ws No fixed version in this record
Original description The description as published by the source.
ws is an open source WebSocket client and server for Node.js. All versions from 1.1.0 up to (but not including) 5.2.5, from 6.0.0 up to 6.2.4, from 7.0.0 up to 7.5.11, and from 8.0.0 up to 8.21.0 are affected by a memory exhaustion DoS vulnerability. A peer can send a high volume of exceptionally small fragments and data chunks, with modest network traffic, to force the remote peer into allocating and holding structural wrappers that consume far more memory than the default documented message-size limit, leading to process termination due to OOM. This issue has been fixed in versions 5.2.5, 6.2.4, 7.5.11, and 8.21.0.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory nvd.nist.gov
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- report bugzilla.redhat.com
- web github.com
- web security.access.redhat.com
- web access.redhat.com
- web access.redhat.com