Skip to main content

SvelteKit CVE-2026-128117

| EUVDEUVD-2026-125729 MEDIUM
Uncaught Exception (CWE-248)
2026-11-13 GitHub_M GHSA-mw6w-2fmv-pvw3
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach adapter-node endpoint over network
  2. Delivery
    Send request with invalid percent-encoded pathname
  3. Exploit
    reroute rewrites it to a valid route
  4. Execution
    Unguarded decode raises unhandled URIError
  5. Persist
    Server process crashes
  6. Impact
    Service denied to all clients

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
Exploitation Conditions

Exploitation requires a SvelteKit application deployed on @sveltejs/kit <=2.70.3 or >=3.0.0 <=3.1.0 running the adapter-node server AND configured with a reroute hook whose logic rewrites an invalid percent-encoded pathname into a valid route; the attacker must craft a malformed percent-encoded pathname that this reroute logic transforms so that the later comparison decodes the original malformed value outside the guarded decode, throwing an unhandled URIError. No authentication or user interaction is required (PR:N/UI:N). Limiting factors: the flaw does not affect default routing without a reroute hook, is specific to the adapter-node runtime (other adapters/platforms that already return a 4xx are not crashed the same way), and the AC:H rating reflects that the triggering input depends on each application's app-specific reroute implementation rather than a universal payload.

Impact

This is a genuine but moderate-priority denial-of-service issue, not a high-impact emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, score 5.9) correctly reflects a network-reachable, unauthenticated flaw with no confidentiality or integrity impact and availability-only impact, gated by high attack complexity. The high complexity is well-founded: exploitation depends on the application having configured a reroute hook whose logic rewrites a specific malformed percent-encoded pathname into a valid route, so the attacker's crafted input must interact with app-specific routing behavior rather than hit a universal default path. No EPSS score and no KEV listing were provided, and no verified exploit code is present - the references are the GHSA advisory, the fix PR, two fix commits and the release tags, i.e. patch artifacts, not proof-of-concept exploits. The vuln.today priority is 'this_month', consistent with a patchable availability bug rather than active exploitation. Signals are internally consistent (availability-only DoS, conditional trigger, no exploitation evidence); the main limiting factor not captured by the raw score is that the vulnerable code path only matters for adapter-node deployments that use the reroute hook.

Exploit ScenarioDerived

An attacker sends an HTTP request with an invalid percent-encoded pathname to a SvelteKit site running on adapter-node that uses a reroute hook which rewrites that path into a valid route. During route matching the original malformed pathname is decoded outside the guarded decoding operation, raising an unhandled URIError that crashes the Node server process and denies service to all other in-flight and subsequent requests. No public exploit code was identified in the provided data; the AC:H vector reflects dependence on the application's specific reroute configuration.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

A crafted malformed percent-encoded request path can crash a SvelteKit server running the adapter-node runtime when the application uses a reroute hook that rewrites that invalid pathname into a valid route, causing an unhandled URIError that denies service to other requests. Only applications on @sveltejs/kit <=2.70.3 or >=3.0.0 <=3.1.0 with such a reroute implementation are exposed; default routing without a reroute hook is unaffected, and the trigger depends on each application's specific reroute logic, which is why the severity is scored AC:H despite PR:N/UI:N. Fixed in 2.70.4 and 3.1.1; no public exploit identified at time of analysis, and this is assessed as a genuine but moderate-priority denial-of-service issue rather than a high-impact emergency.

RemediationAI

Upgrade @sveltejs/kit to 2.70.4 (for the 2.x line) or 3.1.1 (for the 3.x line) as listed in the GitHub advisory GHSA-mw6w-2fmv-pvw3 and the release tags @sveltejs/kit@2.70.4 and @sveltejs/kit@3.1.1; the fix makes the server return a 400 response instead of throwing when reroute rewrites a malformed pathname. The relevant changes were merged via pull request 17620 (commits 0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd and 7993d5ebab017cb1be898a0b1c57371c5da06557). If upgrading immediately is not possible, reduce exposure by reviewing the reroute hook so it does not rewrite invalid percent-encoded pathnames into valid routes, and by validating or rejecting malformed percent-encoding before rewriting, accepting that this places the burden on each application's routing logic; the advisory's own resolution is the patched release.

Affected VersionsENISA

kit 3.0.0, < 3.1.1
kit < 2.70.4

Affected Packages

npm @sveltejs/kit fix: 2.70.4, 3.1.1
euvd kit fix: 2.70.4, 3.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SvelteKit is the Svelte application framework; reroute is a server-side hook that lets an application map an incoming pathname to a different route before resolution. The root cause is CWE-248 (Uncaught Exception): a guarded decoding operation could be bypassed when reroute transformed an invalid percent-encoded pathname into a valid route, after which a comparison decoded the original malformed pathname outside that guard, throwing an unhandled URIError. Because the exception is unhandled in the adapter-node server process, the server can crash and stop serving other requests. The affected npm package is @sveltejs/kit, vulnerable at <=2.70.3 and >=3.0.0 <=3.1.0 (CPE: cpe:2.3:a:sveltejs:kit:*:*:*:*:*:*:*:*); the upstream fix returns a 400 response instead of throwing when reroute rewrites a malformed pathname. The crash depends on both the adapter-node runtime and an app-specific reroute implementation, so it is not universal across deployments, and the surrounding release also bundled unrelated hardening changes for prerendered paths and headers.

Know when Kit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N/UI:N); AC:H because the trigger depends on an app-specific reroute hook; availability-only crash, so C:N/I:N/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 20:49 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular Svelte web framework, but impact limited to adapter-node deployments using reroute
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Kit

View all
CVE-2026-128118 HIGH POC
7.5 Nov 13

SvelteKit 3.0.0 through 3.1.0 can leak server-side secrets into the browser bundle because its build-time server-only im

CVE-2024-23641 HIGH POC
7.5 Jan 24

SvelteKit is a web development kit. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authe

CVE-2026-128123 MEDIUM POC
5.9 Nov 13

Denial of service in SvelteKit's @sveltejs/adapter-node occurs in 5.5.7 and later versions before the 5.5.8 and 6.0.1 fi

CVE-2026-128122 MEDIUM POC
5.9 Nov 13

Prerendered redirect handling in SvelteKit's @sveltejs/adapter-cloudflare can write unintended routing rules into the Cl

CVE-2026-66062 MEDIUM POC
5.3 Aug 07

Remote denial-of-service in @sveltejs/kit (versions ≤ 2.70.1) is achievable by any unauthenticated attacker who sends a

CVE-2025-67647 CRITICAL
9.1 Jan 15

SvelteKit 2.19.0-2.49.4 has SSRF/DoS affecting applications with prerendered routes. Can be exploited to make the server

CVE-2026-114063 HIGH
8.7 Oct 21

A path traversal vulnerability in SvelteKit's Vite preview server on Windows (versions 2.10.0 before 3.0.0) allows remot

CVE-2026-82259 HIGH
8.7 Aug 28

Denial of service in SvelteKit versions 2.49.0 through 2.53.2 is achievable by unauthenticated remote attackers who subm

CVE-2026-82261 HIGH
8.7 Aug 28

CPU exhaustion in SvelteKit's experimental remote form deserialization endpoint allows unauthenticated remote attackers

CVE-2026-82260 HIGH
8.7 Aug 28

Memory exhaustion in @sveltejs/kit versions 2.49.0 through 2.52.1 allows unauthenticated remote attackers to crash the s

CVE-2026-40073 HIGH
8.2 Apr 10

Request body size limit bypass in SvelteKit adapter-node allows unauthenticated attackers to submit oversized payloads,

CVE-2026-128120 HIGH
7.5 Nov 13

SvelteKit versions 2.42.0 through 3.1.0 can be driven into an event-loop-blocking denial of service by a single unauthen

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy