{"answers":{"affected":"2 open source packages ship an affected version, including @tanstack/start-server-core.","exploited":"There is no known exploitation of GHSA-9m65-766c-r333 in the wild and no public exploit code.","fix":"Upgrade @tanstack/start-server-core to 1.167.30 or later.","what":"GHSA-9m65-766c-r333 is an unsafe deserialization vulnerability in @tanstack/start-server-core, published on 14 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-9m65-766c-r333 and fix it if it is affected.\n\nWhat it is: GHSA-9m65-766c-r333 is an unsafe deserialization vulnerability in @tanstack/start-server-core, published on 14 May 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 GHSA-9m65-766c-r333 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @tanstack/start-server-core (npm): affected all versions; fixed in 1.167.30\n- @tanstack/start-server-core (npm): affected all versions; fixed in 1.167.30\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-9m65-766c-r333/ (Markdown: https://insights.sbomify.com/GHSA-9m65-766c-r333/index.md)","id":"GHSA-9m65-766c-r333","markdown":"https://insights.sbomify.com/GHSA-9m65-766c-r333/index.md","name":"GHSA-9m65-766c-r333","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"TanStack Start server core","requires_auth":"none","summary":"A deserialization flaw in TanStack Start allows triggering unintended server functions, though impact is limited to logging anomalies in correctly configured apps.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\nA type-confusion bug in seroval ≤ 1.5.2 ([upstream advisory](https://github.com/lxsmnsyc/seroval/security/advisories)) allowed a crafted JSON body sent to one TanStack Start server function to trigger invocation of a different client-referenced server function as a side effect of deserializing the request payload.\n\nThis is not an authentication bypass and not remote code execution. The mechanism only invokes server functions that the same client could already reach directly via /_serverFn/\u003cid\u003e, and the target function's full middleware chain — including any user-supplied authentication, authorization, and inputValidator — runs as it would on a direct call.\n\n### Impact\nTo be exploitable in any meaningful sense, an application would need to expose a client-referenced server function that:\n\n- [ ] Performs a privileged side effect, and\n- [ ] Has no authentication/authorization middleware, and\n- [ ] Has no input validation\n\nA function meeting all three is already directly callable by any unauthenticated client at its own endpoint, so the practical impact on correctly-written applications is nil. The residual concerns are:\n\nA request to function A could cause function B to also execute, which may surprise observability/audit logging that keys off the request URL.\n\nRequest-level middleware (as opposed to per-function middleware) does not re-run for the inner invocation.\nServer-only functions (isClientReferenced: false) cannot be reached through this mechanism.\n\n### Patches\nUpgrade to @tanstack/start-server-core ≥ 1.167.30 (or the equivalent dated release of @tanstack/react-start / @tanstack/solid-start). The fix bumps seroval to ≥ 1.5.3 and adds defense-in-depth to the serialization adapter plugin shape so adapter payloads cannot be confused with internal seroval node types.\n\n### Workarounds\nIf you cannot upgrade immediately, ensure every createServerFn(...) exposed to the client has both an .inputValidator(...) and authentication/authorization middleware via .middleware([...]). This is recommended regardless of this advisory.\n\n### Credits\n- [Mufeed VH](https://x.com/mufeedvh) of [Winfunc Research](https://winfunc.com/)\n- Upstream fix coordinated with Seroval maintainers https://github.com/lxsmnsyc/seroval","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":"A type-confusion bug in seroval ≤ 1.5.2 ([upstream advisory](https://github.com/lxsmnsyc/seroval/security/advisories)) allowed a","id":"GHSA-9m65-766c-r333","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["1.167.30"],"introduced":["0"],"last_affected":[],"package":"@tanstack/start-server-core","purl":null,"source":"GHSA-9m65-766c-r333"},{"ecosystem":"npm","fixed":["1.167.30"],"introduced":["0"],"last_affected":[],"package":"@tanstack/start-server-core","purl":"pkg:npm/%40tanstack/start-server-core","source":"GHSA-9m65-766c-r333"}],"products":null,"published":"2026-05-14","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":"A deserialization flaw in TanStack Start allows triggering unintended server functions, though impact is limited to logging anomalies in correctly configured apps.","url":"https://insights.sbomify.com/GHSA-9m65-766c-r333/"}