Packages / @sveltejs/kit / Security

ModerateVulnerabilityGHSA-mw6w-2fmv-pvw3CVE-2026-128117Published 13 Nov 2026

SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames

Your version

Affected releases · @sveltejs/kit

  • 3.x3.0.0 – 3.1.0Fixed in 3.1.1
  • 2.x2.0.0 – 2.70.3Fixed in 2.70.4
  • 1.x and older0.0.8 – 1.30.4No fix, no longer updated

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. Affected

    2.0.0 – 2.70.3

    237 releases

  2. Fixed

    2.70.4

    1 release

1.x
  1. Affected

    1.0.0 – 1.30.4

    128 releases

0.x
  1. Affected

    0.0.8 – 0.0.30

    21 releases

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

What happens

When reroute turned an invalid percent-encoded path into a valid path, it could potentially trigger a comparison that would crash the server.

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.