{"answers":{"affected":"6 open source packages ship an affected version, including io.modelcontextprotocol.sdk:mcp-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-34237 in the wild and no public exploit code.","fix":"Upgrade io.modelcontextprotocol.sdk:mcp-core to a fixed version for your release line: 0.18.3, 1.0.1 or 1.1.1.","what":"CVE-2026-34237 is a medium-severity vulnerability in modelcontextprotocol java-sdk, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-34237 and fix it if it is affected.\n\nWhat it is: CVE-2026-34237 is a medium-severity vulnerability in modelcontextprotocol java-sdk, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-34237 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.modelcontextprotocol.sdk:mcp-core (Maven): affected all versions; fixed in 0.18.3\n- io.modelcontextprotocol.sdk:mcp-core (Maven): affected all versions; fixed in 0.18.3\n- io.modelcontextprotocol.sdk:mcp-core (Maven): affected from 1.0.0; fixed in 1.0.1\n- io.modelcontextprotocol.sdk:mcp-core (Maven): affected from 1.0.0; fixed in 1.0.1\n- io.modelcontextprotocol.sdk:mcp-core (Maven): affected from 1.1.0; fixed in 1.1.1\n- io.modelcontextprotocol.sdk:mcp-core (Maven): affected from 1.1.0; fixed in 1.1.1\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-34237/ (Markdown: https://insights.sbomify.com/CVE-2026-34237/index.md)","id":"CVE-2026-34237","markdown":"https://insights.sbomify.com/CVE-2026-34237/index.md","name":"CVE-2026-34237","record":{"aliases":["GHSA-hv2w-8mjj-jw22"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"MCP Java SDK","requires_auth":"none","summary":"The MCP Java SDK uses a hardcoded wildcard CORS policy, allowing any origin to access resources, which attackers can exploit to bypass same-origin restrictions.","user_interaction":"required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mcp_java_sdk","vendor":"lfprojects"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"}],"description":"MCP Java SDK is the official Java SDK for Model Context Protocol servers and clients. Prior to versions 0.83.0, 1.0.1, and 1.1.1, there is a hardcoded wildcard CORS vulnerability. This issue has been patched in versions 0.83.0, 1.0.1, and 1.1.1.","ecosystems":["Maven"],"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":"MCP Java SDK has a Hardcoded Wildcard CORS (Access-Control-Allow-Origin: *)","id":"CVE-2026-34237","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"misconfiguration","year":"2026"},"n_packages":6,"n_references":3,"next":{"headline":"ImageMagick: Integer overflow in despeckle operation causes heap buffer overflow on 32-bit builds","id":"CVE-2026-34238"},"packages":[{"ecosystem":"Maven","fixed":["0.18.3"],"introduced":["0"],"last_affected":[],"package":"io.modelcontextprotocol.sdk:mcp-core","purl":null,"source":"GHSA-hv2w-8mjj-jw22"},{"ecosystem":"Maven","fixed":["0.18.3"],"introduced":["0"],"last_affected":[],"package":"io.modelcontextprotocol.sdk:mcp-core","purl":"pkg:maven/io.modelcontextprotocol.sdk/mcp-core","source":"GHSA-hv2w-8mjj-jw22"},{"ecosystem":"Maven","fixed":["1.0.1"],"introduced":["1.0.0"],"last_affected":[],"package":"io.modelcontextprotocol.sdk:mcp-core","purl":null,"source":"GHSA-hv2w-8mjj-jw22"},{"ecosystem":"Maven","fixed":["1.0.1"],"introduced":["1.0.0"],"last_affected":[],"package":"io.modelcontextprotocol.sdk:mcp-core","purl":"pkg:maven/io.modelcontextprotocol.sdk/mcp-core","source":"GHSA-hv2w-8mjj-jw22"},{"ecosystem":"Maven","fixed":["1.1.1"],"introduced":["1.1.0"],"last_affected":[],"package":"io.modelcontextprotocol.sdk:mcp-core","purl":null,"source":"GHSA-hv2w-8mjj-jw22"},{"ecosystem":"Maven","fixed":["1.1.1"],"introduced":["1.1.0"],"last_affected":[],"package":"io.modelcontextprotocol.sdk:mcp-core","purl":"pkg:maven/io.modelcontextprotocol.sdk/mcp-core","source":"GHSA-hv2w-8mjj-jw22"}],"prev":{"headline":"Auth0 PHP SDK Insufficient Entropy in Cookie Encryption","id":"CVE-2026-34236"},"products":["java-sdk"],"published":"2026-03-31","related":[{"cvss_score":7.6,"headline":"MCP Java-SDK has a DNS Rebinding Vulnerability","id":"CVE-2026-35568","kev_date_added":null,"published":"2026-04-07"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-09","vendors":["modelcontextprotocol"]},"summary":"The MCP Java SDK uses a hardcoded wildcard CORS policy, allowing any origin to access resources, which attackers can exploit to bypass same-origin restrictions.","url":"https://insights.sbomify.com/CVE-2026-34237/"}