GHSA-9M65-766C-R333: Type Confusion in Seroval Leading to Unintended Function Execution in TanStack Start
Vulnerability ID: GHSA-9M65-766C-R333
CVSS Score: 7.1
Published: 2026-05-14
A type confusion vulnerability in the seroval deserialization library (CWE-843) exposes TanStack Start server functions to unintended sibling function invocation. Upstream, this flaw can lead to remote code execution (CVE-2026-23737).
TL;DR
TanStack Start is vulnerable to deserialization type confusion via the seroval library. Attackers can craft JSON payloads to silently trigger unintended server functions, bypassing request-level middleware and audit logs.
⚠️ Exploit Status: POC
Technical Details
- CWE ID: CWE-843
- Attack Vector: Network
- Upstream CVSS: 7.1
- TanStack Start CVSS: Low
- Impact: Unintended Function Execution / Upstream RCE
- Exploit Status: Theoretical / Multi-stage
Affected Systems
- TanStack Start Server Core
- Seroval Deserialization Library
- React Server Components utilizing affected TanStack packages
- Solid Start utilizing affected TanStack packages
-
@tanstack/start-server-core: < 1.167.30 (Fixed in:
1.167.30) -
seroval: <= 1.5.2 (Fixed in:
1.5.3)
Code Analysis
Commit: ce9408e
Fix internal node type confusion and defense-in-depth measures in seroval.
Mitigation Strategies
- Upgrade
@tanstack/start-server-coreto1.167.30or higher. - Upgrade
serovalto1.5.3or higher. - Enforce strict input validation on all client-exposed server functions.
- Implement authentication and authorization checks exclusively at the function level via middleware.
Remediation Steps:
- Identify all projects utilizing TanStack Start or standalone
seroval. - Execute
npm install @tanstack/start-server-core@latest seroval@latestto fetch the patched versions. - Verify the dependency tree using
npm ls serovalto ensure no transitive dependencies are locking an outdated version. - Audit all
createServerFnimplementations to confirm the presence of.inputValidator()and.middleware()directives. - Deploy the updated application to all environments.
References
- TanStack Router Security Advisory
- Seroval Upstream Advisory
- CVE-2026-23737 Details
- OSV Data for GHSA-9m65-766c-r333
Read the full report for GHSA-9M65-766C-R333 on our website for more details including interactive diagrams and full exploit analysis.
Top comments (0)