CVE-2026-128119
SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations
Impact
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From version 2.60.1 until 3.1.1, applications using the experimental remote functions flag could assign the same generated identifier to separate non-exported query.batch functions. When those private functions shared a request batch, arguments intended for one function could be passed to another function, causing unexpected cross-function processing and possible disclosure of function arguments. This issue is fixed in 3.1.1.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @sveltejs/kit | >= 2.60.1, <= 3.1.0 | 3.1.1 |
Affected products · Sveltejs
| Product | Affected versions |
|---|---|
| Kit | from 2.60.1, before 3.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/sveltejs/kit/security/advisories/GHSA-6cf5-gc4q-fm3x
- https://github.com/sveltejs/kit/commit/2c190febe78a15cac21be539ed9e99dc2d414b60
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1
- https://github.com/advisories/GHSA-6cf5-gc4q-fm3x
- https://nvd.nist.gov/vuln/detail/CVE-2026-128119