MEDIUM · CVSS 3.1 5.9 EPSS 0.6% · 42th percentile CWE-248

CVE-2026-128117: SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames

Published 2026-11-13 · Updated 2026-11-13 · Also known as GHSA-mw6w-2fmv-pvw3

Summary

SvelteKit's adapter-node can crash when the `reroute` function processes malformed percent-encoded pathnames that trigger an unhandled URIError. Developers using affected versions of @sveltejs/kit should update to the provided patches to prevent potential denial-of-service conditions.

Who is affected

The vulnerability allows an attacker to trigger an unhandled exception by submitting specifically crafted, malformed URI paths that the `reroute` hook attempts to process. This leads to an application crash, resulting in a denial-of-service for all users of the affected server instance. Deployments using the default adapter-node are primarily susceptible when `reroute` logic is active.

Exploitability

The vulnerability is rated as Medium severity with a CVSS score of 5.9, requiring network access and specific conditions for exploitation. The current EPSS score of 0.005 indicates a low likelihood of widespread exploit attempts, and the issue is not listed on the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm @sveltejs/kit >= 3.0.0, < 3.1.1 3.1.1 npm install @sveltejs/[email protected]
npm @sveltejs/kit >= 0, < 2.70.4 2.70.4 npm install @sveltejs/[email protected]

CVSS 3.1 vector

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

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

FAQ

What is the primary consequence of this vulnerability?

The primary consequence is a server crash resulting in a denial-of-service, triggered by an unhandled URIError during path rerouting.

Is there evidence of active exploitation for this CVE?

No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog.

How does the reroute hook interact with this flaw?

The flaw occurs when the `reroute` hook performs an operation that transforms an invalid percent-encoded path into a valid path, subsequently triggering an unhandled exception during server-side processing.

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

References

Source records: GHSA-mw6w-2fmv-pvw3 (OSV.dev) · EPSS by FIRST, 2026-11-26.