CVE-2026-128119: SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations
Published 2026-11-16 · Updated 2026-11-16 · Also known as GHSA-6cf5-gc4q-fm3x
Summary
Private `query.batch` functions in SvelteKit can incorrectly share batches under specific conditions, causing arguments from one function to be passed to another. Developers using SvelteKit with the experimental remote functions flag and non-exported `query.batch` functions should upgrade immediately.
Who is affected
This vulnerability affects SvelteKit applications using @sveltejs/kit versions 2.60.1 through 3.1.0. The flaw only manifests when the experimental remote functions flag is enabled and the application uses non-exported (private) `query.batch` functions. Under these conditions, private batch functions may collide and share a batch, resulting in unexpected parameter and function combinations where arguments from one function are passed to another.
Exploitability
The CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N indicates a network-accessible vulnerability with high attack complexity, requiring no privileges or user interaction, and impacting only confidentiality. The EPSS score of 0.003 (0.3%, percentile 0.213) suggests a very low probability of exploitation in the wild. CISA Known Exploited Vulnerabilities listing is 'no', confirming no evidence of active exploitation.
Remediation
- Upgrade @sveltejs/kit to version 3.1.1 or later
- If immediate upgrade is not feasible, disable the experimental remote functions flag in the SvelteKit configuration until the upgrade can be performed
How to check your project
- Run `npm list @sveltejs/kit` or check package.json to confirm the installed version falls within the affected range 2.60.1 to 3.1.0
- Search the codebase for the experimental remote functions flag configuration and usage of non-exported `query.batch` functions
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | @sveltejs/kit |
>= 2.60.1, < 3.1.1 | 3.1.1 | npm install @sveltejs/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | None |
| Availability | None |
FAQ
Which SvelteKit versions are affected by this vulnerability?
Versions 2.60.1 through 3.1.0 of @sveltejs/kit are affected. The vulnerability was introduced in 2.60.1 and fixed in 3.1.1.
What specific conditions must be present for this vulnerability to be exploitable?
The application must have the experimental remote functions flag enabled and must use non-exported (private) `query.batch` functions. The vulnerability does not affect exported batch functions or applications without the experimental flag.
Is there any evidence that this vulnerability is being actively exploited in the wild?
No. The CISA Known Exploited Vulnerabilities catalog does not list this CVE, and the EPSS score of 0.003 indicates a very low likelihood of exploitation.
Original advisory description
References
- WEB https://github.com/sveltejs/kit/security/advisories/GHSA-6cf5-gc4q-fm3x
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-128119
- WEB https://github.com/sveltejs/kit/commit/2c190febe78a15cac21be539ed9e99dc2d414b60
- PACKAGE https://github.com/sveltejs/kit
- WEB https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
Source records: GHSA-6cf5-gc4q-fm3x (OSV.dev) · EPSS by FIRST, 2026-11-26.