CVE-2026-140016: websocket-driver: Message corruption and denial of service triggered by crafted client message

Published Nov 30, 2026
·
Updated

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.0, message parsing for draft75 and draft76 WebSocket connections could incorrectly handle a short crafted byte sequence. An unauthenticated remote client could use this parsing flaw to duplicate an application message or crash the server. Draft protocols are disabled by default after the fix and require allowdrafts: true to enable. This issue is fixed in version 0.9.0.

Affected Software

1 affected component
rubygems/websocket-driver<0.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.9.0

Event History

Nov 30, 2026
CVE Published
via MITRE·10:05 PM
Data Sourced
via MITRE·10:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using websocket-driver versions before 0.9.0 that accept draft75 or draft76 WebSocket connections are exposed. Draft protocol support requires allow_drafts: true after the fix; the provided information does not establish whether it was enabled by default in affected releases.

2

What does an attacker need to exploit the vulnerability?

An unauthenticated remote client only needs to send a short crafted byte sequence through a draft75 or draft76 WebSocket connection. No credentials or user interaction are required.

3

What can happen if exploitation succeeds?

The crafted message can cause an application message to be duplicated or crash the server, resulting in integrity impact and denial of service.

4

What should be done if an immediate upgrade is not possible?

Disable draft75 and draft76 WebSocket protocol support, or ensure allow_drafts is not enabled. Upgrading websocket-driver to version 0.9.0 fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203