{"answers":{"affected":"2 open source packages ship an affected version, including mcp. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33946 exists.","fix":"Upgrade mcp to 0.9.2 or later.","what":"CVE-2026-33946 is a high-severity authentication bypass vulnerability in modelcontextprotocol ruby-sdk, published on 27 Mar 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-33946 and fix it if it is affected.\n\nWhat it is: CVE-2026-33946 is a high-severity authentication bypass vulnerability in modelcontextprotocol ruby-sdk, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33946 exists.\n\nAffected packages and fixed versions:\n- mcp (RubyGems): affected all versions; fixed in 0.9.2\n- mcp (RubyGems): affected all versions; fixed in 0.9.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-33946/ (Markdown: https://insights.sbomify.com/CVE-2026-33946/index.md)","id":"CVE-2026-33946","markdown":"https://insights.sbomify.com/CVE-2026-33946/index.md","name":"CVE-2026-33946","record":{"aliases":["GHSA-qvqr-5cv7-wh35"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby MCP SDK","requires_auth":"none","summary":"Attackers can hijack SSE streams and intercept real-time data by replaying session IDs in the MCP Ruby SDK.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mcp_ruby_sdk","vendor":"lfprojects"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-384","name":"Session Fixation"}],"description":"MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to version 0.9.2, the Ruby SDK's streamable_http_transport.rb implementation contains a session hijacking vulnerability. An attacker who obtains a valid session ID can completely hijack the victim's Server-Sent Events (SSE) stream and intercept all real-time data. Version 0.9.2 contains a patch.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"MCP Ruby SDK: Insufficient Session Binding Allows SSE Stream Hijacking via Session ID Replay","id":"CVE-2026-33946","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":2,"n_references":8,"next":{"headline":"jq: Unbounded Recursion in jv_setpath(), jv_getpath() and delpaths_sorted()","id":"CVE-2026-33947"},"packages":[{"ecosystem":"RubyGems","fixed":["0.9.2"],"introduced":["0"],"last_affected":[],"package":"mcp","purl":null,"source":"GHSA-qvqr-5cv7-wh35"},{"ecosystem":"RubyGems","fixed":["0.9.2"],"introduced":["0"],"last_affected":[],"package":"mcp","purl":"pkg:gem/mcp","source":"GHSA-qvqr-5cv7-wh35"}],"prev":{"headline":"Abitrary file write through systemd-creds option","id":"CVE-2026-33945"},"products":["ruby-sdk"],"published":"2026-03-27","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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-30","vendors":["modelcontextprotocol"]},"summary":"Attackers can hijack SSE streams and intercept real-time data by replaying session IDs in the MCP Ruby SDK.","url":"https://insights.sbomify.com/CVE-2026-33946/"}