CVE-2026-54464: websocket-driver Remote Code Execution Vulnerability
MODERATECVE-2026-54464 is a MODERATE remote code execution vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting websocket-driver libraries in the RubyGems ecosystem. The issue involves resource limit bypass via message compression. Remediation is available by upgrading affected packages to version 0.8.1.
CVE-2026-54464 at a Glance
How to Fix CVE-2026-54464
To remediate this vulnerability, upgrade all affected websocket-driver dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade websocket-driver to 0.8.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for websocket-driver
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-54464, inspect your project dependencies for websocket-driver:
inspect dependencies for websocket-driver
Analyze the terminal output to locate any version of websocket-driver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In websocket-driver, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-54464 Affected websocket-driver Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
websocket-driver
|
RubyGems |
< 0.8.1
|
0.8.1
|
References
Frequently Asked Questions
What is CVE-2026-54464?
Which websocket-driver versions are affected?
What version fixes CVE-2026-54464?
Is websocket-driver affected?
What CWE is associated with CVE-2026-54464?
How can I check RubyGems dependencies for CVE-2026-54464?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-33ph-fccm-39pj",
"modified" : "2026-08-17T16:15:13Z",
"published" : "2026-07-15T22:03:59Z",
"aliases" : [ "CVE-2026-54464" ],
"summary" : "websocket-driver: Resource limit bypass via message compression",
"details" : "### Impact\n\nIf this library is used in tandem with the `permessage-deflate` extension, a WebSocket server or client can be made to accept messages that are larger than the configured maximum message size. This is because this limit is checked against the message frames' length headers, which give the size of the compressed data, not the size after decompression. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage.\n\n### Patches\n\nThe issue has been patched in version 0.8.1, by checking the length of messages after they are processed by incoming extensions. All users should upgrade to this version.\n\n### Workarounds\n\nNo known workarounds exist.\n\n### Acknowledgements\n\nThis issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "websocket-driver"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.8.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-33ph-fccm-39pj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54464"
}, {
"type" : "WEB",
"url" : "https://github.com/faye/websocket-driver-ruby/commit/fa8641724f10bf3273585f1dcf9041f540bbd036"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/faye/websocket-driver-ruby"
}, {
"type" : "WEB",
"url" : "https://github.com/faye/websocket-driver-ruby/releases/tag/0.8.1"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/websocket-driver/CVE-2026-54464.yml"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54464"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-15T22:03:59Z",
"nvd_published_at" : "2026-07-17T20:17:26Z"
}
}