Skip to content
Threat Brief

← All advisories

CVE-2026-128117

Medium 5.9No known exploitationFix available

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

Vendor advisory: GHSA-mw6w-2fmv-pvw3

Record last updated

CVSS score

5.9

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.5%

Higher than 42% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

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

VendorProductAffected versionsFixed inPer
npm@sveltejs/kitfrom 3.0.0 before 3.1.13.1.1GitHub Advisory Database
npm@sveltejs/kitall versions before 2.70.42.70.4GitHub Advisory Database
sveltejskit< 2.70.4Not documentedCVE Program
sveltejskit>= 3.0.0, < 3.1.1Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references