---
title: "GHSA-mw6w-2fmv-pvw3: SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames"
description: "Moderate severity. SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames."
url: https://inlinr.com/advisories/GHSA-mw6w-2fmv-pvw3
lang: en
---

[Packages](https://inlinr.com/packages) / [@sveltejs/kit](https://inlinr.com/packages/@sveltejs/kit) / [Security](https://inlinr.com/packages/@sveltejs/kit/security)

Moderate Vulnerability GHSA-mw6w-2fmv-pvw3 CVE-2026-128117 Published 13 Nov 2026

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

Your version 

Affected releases · [@sveltejs/kit](https://inlinr.com/packages/@sveltejs/kit)

- 3.x 3.0.0 – 3.1.0 Fixed in 3.1.1
- 2.x 2.0.0 – 2.70.3 Fixed in 2.70.4
- 1.x and older 0.0.8 – 1.30.4 No 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.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: none
- **Availability**: high

CVSS:3.1/​AV:N/​AC:H/​PR:N/​UI:N/​S:U/​C:N/​I:N/​A:H

## References

- [Reference](https://github.com/sveltejs/kit/security/advisories/GHSA-mw6w-2fmv-pvw3 "https://github.com/sveltejs/kit/security/advisories/GHSA-mw6w-2fmv-pvw3")  
github.com/sveltejs/kit/security/advisories/GHS…
- [Pull request](https://github.com/sveltejs/kit/pull/17620 "https://github.com/sveltejs/kit/pull/17620")  
#17620
- [Fix commit](https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd "https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd")  
0a2e58c
- [Fix commit](https://github.com/sveltejs/kit/commit/7993d5ebab017cb1be898a0b1c57371c5da06557 "https://github.com/sveltejs/kit/commit/7993d5ebab017cb1be898a0b1c57371c5da06557")  
7993d5e
- [Package](https://github.com/sveltejs/kit "https://github.com/sveltejs/kit")  
github.com/sveltejs/kit
- [Reference](https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4 "https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4")  
github.com/sveltejs/kit/releases/tag/@sveltejs/…
- [Reference](https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1 "https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1")  
github.com/sveltejs/kit/releases/tag/@sveltejs/…

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
