{"answers":{"affected":"8 open source packages ship an affected version, including @modelcontextprotocol/hono, @modelcontextprotocol/node and @modelcontextprotocol/sdk.","exploited":"There is no known exploitation of GHSA-f897-62hf-6gxq in the wild and no public exploit code.","fix":"Upgrade @modelcontextprotocol/hono to 2.0.1 or later.","what":"GHSA-f897-62hf-6gxq is a vulnerability in @modelcontextprotocol/hono, published on 27 Oct 2026."},"fix_prompt":"Check this codebase for GHSA-f897-62hf-6gxq and fix it if it is affected.\n\nWhat it is: GHSA-f897-62hf-6gxq is a vulnerability in @modelcontextprotocol/hono, published on 27 Oct 2026. \nExploitation: There is no known exploitation of GHSA-f897-62hf-6gxq in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @modelcontextprotocol/hono (npm): affected from 2.0.0; fixed in 2.0.1\n- @modelcontextprotocol/hono (npm): affected from 2.0.0; fixed in 2.0.1\n- @modelcontextprotocol/node (npm): affected from 2.0.0; fixed in 2.1.0\n- @modelcontextprotocol/node (npm): affected from 2.0.0; fixed in 2.1.0\n- @modelcontextprotocol/sdk (npm): affected from 1.10.0; fixed in 1.30.1\n- @modelcontextprotocol/sdk (npm): affected from 1.10.0; fixed in 1.30.1\n- @modelcontextprotocol/server (npm): affected from 2.0.0; fixed in 2.1.0\n- @modelcontextprotocol/server (npm): affected from 2.0.0; fixed in 2.1.0\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/GHSA-f897-62hf-6gxq/ (Markdown: https://insights.sbomify.com/GHSA-f897-62hf-6gxq/index.md)","id":"GHSA-f897-62hf-6gxq","markdown":"https://insights.sbomify.com/GHSA-f897-62hf-6gxq/index.md","name":"GHSA-f897-62hf-6gxq","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\nIn affected versions, MCP servers reachable over HTTP put no limit on the size of a POST body or on the number of messages in a JSON-RPC batch. Large requests could exhaust the server's memory, and one long batch could block it from serving anyone else. No credentials were needed, unless your application authenticates requests before they reach the SDK.\n\n### Am I affected?\nYes, if clients you do not fully trust can reach your server over Streamable HTTP. A body parser such as `express.json()` does not protect you, because it does not limit batch length. Servers that only use stdio are not affected.\n\nAffected versions:\n\n- `@modelcontextprotocol/sdk` 1.10.0 through 1.30.0\n- `@modelcontextprotocol/server` 2.0.0\n- `@modelcontextprotocol/node` 2.0.0\n- `@modelcontextprotocol/hono` 2.0.0\n\n### Fix\nUpgrade to:\n\n- 1.x: `@modelcontextprotocol/sdk` 1.30.1 or later\n- 2.x: `@modelcontextprotocol/server` 2.1.0, `@modelcontextprotocol/node` 2.1.0 and `@modelcontextprotocol/hono` 2.0.1 or later. Upgrade every one you have installed.\n\nBodies over 4 MiB now get `413`, and batches over 100 messages get `400`. If your clients send larger bodies, raise the new `maxRequestBodySize` option.\n\nIf you cannot upgrade yet, cap request body size in a reverse proxy.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length","id":"GHSA-f897-62hf-6gxq","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":8,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"@modelcontextprotocol/hono","purl":null,"source":"GHSA-f897-62hf-6gxq"},{"ecosystem":"npm","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"@modelcontextprotocol/hono","purl":"pkg:npm/%40modelcontextprotocol/hono","source":"GHSA-f897-62hf-6gxq"},{"ecosystem":"npm","fixed":["2.1.0"],"introduced":["2.0.0"],"last_affected":[],"package":"@modelcontextprotocol/node","purl":null,"source":"GHSA-f897-62hf-6gxq"},{"ecosystem":"npm","fixed":["2.1.0"],"introduced":["2.0.0"],"last_affected":[],"package":"@modelcontextprotocol/node","purl":"pkg:npm/%40modelcontextprotocol/node","source":"GHSA-f897-62hf-6gxq"},{"ecosystem":"npm","fixed":["1.30.1"],"introduced":["1.10.0"],"last_affected":[],"package":"@modelcontextprotocol/sdk","purl":null,"source":"GHSA-f897-62hf-6gxq"},{"ecosystem":"npm","fixed":["1.30.1"],"introduced":["1.10.0"],"last_affected":[],"package":"@modelcontextprotocol/sdk","purl":"pkg:npm/%40modelcontextprotocol/sdk","source":"GHSA-f897-62hf-6gxq"},{"ecosystem":"npm","fixed":["2.1.0"],"introduced":["2.0.0"],"last_affected":[],"package":"@modelcontextprotocol/server","purl":null,"source":"GHSA-f897-62hf-6gxq"},{"ecosystem":"npm","fixed":["2.1.0"],"introduced":["2.0.0"],"last_affected":[],"package":"@modelcontextprotocol/server","purl":"pkg:npm/%40modelcontextprotocol/server","source":"GHSA-f897-62hf-6gxq"}],"products":null,"published":"2026-10-27","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/GHSA-f897-62hf-6gxq/"}