Packages / @sveltejs/kit / Security

ModerateVulnerabilityGHSA-6cf5-gc4q-fm3xCVE-2026-128119Published 16 Nov 2026

SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations

Your version

Affected releases · @sveltejs/kit

  • 3.x3.0.0 – 3.1.0Fixed in 3.1.1
  • 2.x2.60.1 – 2.70.4No fix on this line yet

On 3.x, the newest line:

npm install @sveltejs/kit@3.1.1
Every release on a timeline
3.x
  1. Affected

    3.0.0 – 3.1.0

    3 releases

  2. Fixed

    3.1.1 – 3.4.0

    6 releases

2.x
  1. Not affected

    2.0.0 – 2.60.0

    216 releases

  2. Affected

    2.60.1 – 2.70.4

    22 releases

396 stable releases of @sveltejs/kit, oldest to newest, one row per major.

What happens

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.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.