# CVE-2026-128117: SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-11-13T19:29:04.744Z
- Modified: 2026-11-13T22:17:23.060Z
- Also known as: GHSA-mw6w-2fmv-pvw3
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.

(As written by CVE List.)

## Affected

- sveltejs kit: < 2.70.4; >= 3.0.0, < 3.1.1
- @sveltejs/kit (npm): from 3.0.0 before 3.1.1; before 2.70.4

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sveltejs/kit/security/advisories/GHSA-mw6w-2fmv-pvw3> (web)
- <https://github.com/sveltejs/kit/pull/17620> (web)
- <https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd> (web)
- <https://github.com/sveltejs/kit/commit/7993d5ebab017cb1be898a0b1c57371c5da06557> (web)
- <https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4> (web)
- <https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1> (web)
- <https://github.com/sveltejs/kit> (package)

## Sources

- CVE List: [CVE-2026-128117](https://www.cve.org/CVERecord?id=CVE-2026-128117), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-mw6w-2fmv-pvw3](https://github.com/advisories/GHSA-mw6w-2fmv-pvw3), CC-BY-4.0, modified 2026-11-13
- NVD: [CVE-2026-128117](https://nvd.nist.gov/vuln/detail/CVE-2026-128117), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-128117 · Whole record: https://cve.day/CVE-2026-128117.json · Rebuilt by cve.day 2026-11-25T22:59:50.780Z
