CVE-2026-140009
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
ws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic Pong responses without a pending-response bound. The queued Pong frames can exhaust process memory and terminate the application; disabling autoPong where available or combining rate limiting with heartbeats mitigates the issue. This issue is fixed in versions 5.2.8, 6.2.7, 7.5.14, and 8.23.0.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- websockets ws < 5.2.8
- websockets ws >= 6.0.0, < 6.2.7
- websockets ws >= 7.0.0, < 7.5.14
- websockets ws >= 8.0.0, < 8.23.0
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run websockets ws and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Nov 30, 2026Published
- Nov 30, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new websockets ws CVEsYou are reading CVE-2026-140009. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1
- Patchhttps://github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe
- Patchhttps://github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7
- Patchhttps://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63
- Vendor Advisoryhttps://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr
Data last checked: Dec 1, 2026 00:33 UTC