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

Published Nov 13, 2026
·
Updated

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.

Other sources

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

— GitHub

Affected Software

2 affected componentsFixes available
npm/@sveltejs/kit<2.70.4
2.70.4
npm/@sveltejs/kit>=3.0.0<3.1.1
3.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@sveltejs/kit to a version that resolves this vulnerability.

    Fixed in 2.70.4
  2. Upgrade

    Upgrade npm/@sveltejs/kit to a version that resolves this vulnerability.

    Fixed in 3.1.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.70.4
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.1.1

Event History

Nov 13, 2026
CVE Published
via MITRE·07:29 PM
Data Sourced
via MITRE·07:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:51 PM
Data Sourced
via GitHub·08:51 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service condition?

Adapter-node servers using SvelteKit versions earlier than 2.70.4 or 3.1.1 are affected when their reroute hook can rewrite an invalid percent-encoded pathname into a valid route. The crash can deny service to other requests handled by that server.

2

What does an attacker need to send to trigger the crash?

An attacker must make a request with a malformed percent-encoded pathname that is rewritten by the application's reroute hook into a valid route. No privileges or user interaction are required, but the attack complexity is rated high.

3

Are applications using the default routing behavior affected?

The described trigger depends on use of the reroute hook to transform the malformed pathname into a valid path. The provided information does not indicate that applications without such rerouting behavior are affected.

4

How can the issue be remediated?

Upgrade SvelteKit to version 2.70.4 or 3.1.1. These releases fix the unhandled URIError condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203