CVE-2026-128117
Medium 5.9No known exploitationFix availableSvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node
Vendor advisory: GHSA-mw6w-2fmv-pvw3
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 42% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-248
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| npm | @sveltejs/kit | from 3.0.0 before 3.1.1 | 3.1.1 | GitHub Advisory Database |
| npm | @sveltejs/kit | all versions before 2.70.4 | 2.70.4 | GitHub Advisory Database |
| sveltejs | kit | < 2.70.4 | Not documented | CVE Program |
| sveltejs | kit | >= 3.0.0, < 3.1.1 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-mw6w-2fmv-pvw3 (opens in a new tab)github-advisory
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/commit/7993d5ebab017cb1be898a0b1c57371c5da06557 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/pull/17620 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/security/advisories/GHSA-mw6w-2fmv-pvw3 (opens in a new tab)x_refsource_confirm