{"answers":{"affected":"2 open source packages ship an affected version, including websocket-driver.","exploited":"There is no known exploitation of CVE-2026-61666 in the wild and no public exploit code.","fix":"Upgrade websocket-driver to 0.8.2 or later.","what":"CVE-2026-61666 is a high-severity denial of service vulnerability in faye websocket-driver-ruby, published on 17 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-61666 and fix it if it is affected.\n\nWhat it is: CVE-2026-61666 is a high-severity denial of service vulnerability in faye websocket-driver-ruby, published on 17 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-61666 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- websocket-driver (RubyGems): affected all versions; fixed in 0.8.2\n- websocket-driver (RubyGems): affected all versions; fixed in 0.8.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-61666/ (Markdown: https://insights.sbomify.com/CVE-2026-61666/index.md)","id":"CVE-2026-61666","markdown":"https://insights.sbomify.com/CVE-2026-61666/index.md","name":"CVE-2026-61666","record":{"aliases":["DEBIAN-CVE-2026-61666","GHSA-2x63-gw47-w4mm","MINI-2rpx-65c3-8mvf","MINI-85wv-pwpj-jxwr","UBUNTU-CVE-2026-61666"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby WebSocket library","requires_auth":"none","summary":"A remote attacker can crash a WebSocket server by sending a malformed Host header, causing an unhandled exception in the websocket-driver library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.9,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H","version":"4.0"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"description":"websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.8.2, WebSocket::Driver.server() passes a malformed Host header to URI.parse in lib/websocket/http/request.rb without catching URI::InvalidURIError, allowing a remote client to crash a TCP-backed WebSocket server when the application does not catch the error from parse(). This issue is fixed in version 0.8.2.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"websocket-driver: Denial of service via malformed Host header","id":"CVE-2026-61666","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"DIRAC: RCE in FileCatalog DatasetManager via SQL injection + eval","id":"CVE-2026-61667"},"packages":[{"ecosystem":"RubyGems","fixed":["0.8.2"],"introduced":["0"],"last_affected":[],"package":"websocket-driver","purl":null,"source":"GHSA-2x63-gw47-w4mm"},{"ecosystem":"RubyGems","fixed":["0.8.2"],"introduced":["0"],"last_affected":[],"package":"websocket-driver","purl":"pkg:gem/websocket-driver","source":"GHSA-2x63-gw47-w4mm"}],"prev":{"headline":"django CMS: Missing authorization in `render_object_structure` discloses non-PageContent placeholder structure to low-privileged staff","id":"CVE-2026-61663"},"products":["websocket-driver-ruby"],"published":"2026-08-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-17","vendors":["faye"]},"summary":"A remote attacker can crash a WebSocket server by sending a malformed Host header, causing an unhandled exception in the websocket-driver library.","url":"https://insights.sbomify.com/CVE-2026-61666/"}