CVE-2026-128117
JSON

5.9medium

SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.48% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mw6w-2fmv-pvw3

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.

Affected

Product or packageVersionsReported by
sveltejs kit< 2.70.4, >= 3.0.0, < 3.1.1CVE List
@sveltejs/kit (npm)from 3.0.0 before 3.1.1, before 2.70.4GitHub Advisory Database

All scores

GitHub_M5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-248

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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

References

Sources

SourceRecordLicence
CVE ListCVE-2026-128117 changed 2026-11-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-mw6w-2fmv-pvw3 changed 2026-11-13CC-BY-4.0
NVDCVE-2026-128117 changed 2026-11-13Public domain