CVE-2026-128119: SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations
Under certain circumstances, private (non-exported) query.batch functions could end up sharing a batch, resulting in the arguments from one function being passed to another. This only affects apps using the experimental remote functions flag and non-exported query.batch functions.
Published Nov 16, 2026
Affected packages
@sveltejs/kit
- Ecosystem
- npm
- Affected
- >= 2.60.1, <= 3.1.0
- Fixed in
- 3.1.1
- Check
npm ls @sveltejs/kit
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Under certain circumstances, private (non-exported) query.batch functions could end up sharing a batch, resulting in the arguments from one function being passed to another. This only affects apps using the experimental remote functions flag and non-exported query.batch functions.
Credited to elliott-with-the-longest-name-on-github, Rich-Harris, 0xWerz.
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-6cf5-gc4q-fm3x
- https://nvd.nist.gov/vuln/detail/CVE-2026-128119
- https://github.com/sveltejs/kit/commit/2c190febe78a15cac21be539ed9e99dc2d414b60
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/advisories/GHSA-6cf5-gc4q-fm3x
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-128116
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
medium5.3Nov 16, 2026CVE-2026-128118
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
high7.5Nov 16, 2026CVE-2026-128120
SvelteKit: DoS while parsing form data from a remote functions `form`
high7.5Nov 16, 2026CVE-2026-128117
SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames
medium5.9Nov 13, 2026CVE-2026-114060
SvelteKit: URL redirection to untrusted site via enhanced form submission
low4.7Oct 23, 2026CVE-2026-114061
SvelteKit : XSS via untrusted cache-control header in prerendered page
lowOct 23, 2026
