CVE-2026-128117: SvelteKit Adapter-node Crashes With An Unhandled Vulnerability

MODERATE
Advisory Identifier: GHSA-mw6w-2fmv-pvw3
CVSS 5.9
CWE-248
Published
Advisory Summary

CVE-2026-128117 is a MODERATE (CVSS 5.9) adapter-node crashes with an unhandled vulnerability (CWE-248: Uncaught Exception) affecting SvelteKit libraries in the npm ecosystem. The issue involves adapter-node crashes with an unhandled urierror when `reroute` rewrites malformed pathnames. Remediation is available by upgrading affected packages to version 3.1.1, 2.70.4.

CVE-2026-128117 at a Glance

CVE Identifier CVE-2026-128117
GHSA Identifier GHSA-mw6w-2fmv-pvw3
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-248: Uncaught Exception
Affected Product SvelteKit
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-128117

To remediate this vulnerability, upgrade all affected SvelteKit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@sveltejs/kit fixed: 3.1.1
npm install @sveltejs/kit@3.1.1
@sveltejs/kit fixed: 2.70.4
npm install @sveltejs/kit@2.70.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @sveltejs/kit

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-128117, inspect your project dependencies using npm:

npm ls @sveltejs/kit

Analyze the terminal output to locate any version of SvelteKit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.1), your application is affected.

Note: The npm ls @sveltejs/kit command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-248: Uncaught Exception, where an exception is thrown from a function, but it is not caught. In SvelteKit, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-128117 Affected SvelteKit Versions

2 component(s)
Fixed Versions:
3.1.12.70.4
Product / Package Ecosystem Affected Versions Fixed Version
@sveltejs/kit
npm
≥ 3.0.0
< 3.1.1
3.1.1
@sveltejs/kit
npm
< 2.70.4
2.70.4

References

Frequently Asked Questions

What is CVE-2026-128117?
CVE-2026-128117 is a security vulnerability in SvelteKit involving adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames under CWE-248: Uncaught Exception.
Which SvelteKit versions are affected?
Affected versions include releases prior to 3.1.1, 2.70.4 across affected packages: @sveltejs/kit.
What version fixes CVE-2026-128117?
Upgrading to 3.1.1, 2.70.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @sveltejs/kit affected?
Yes, @sveltejs/kit is affected in releases prior to 3.1.1, 2.70.4. Upgrade your dependency to 3.1.1, 2.70.4 or later.
What is the CVSS score of CVE-2026-128117?
CVE-2026-128117 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-128117?
CVE-2026-128117 is classified under CWE-248: Uncaught Exception (An exception is thrown from a function, but it is not caught.).
How can I check npm dependencies for CVE-2026-128117?
Run the dependency tree command: 'npm ls @sveltejs/kit'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mw6w-2fmv-pvw3",
  "modified" : "2026-11-13T20:51:44Z",
  "published" : "2026-11-13T20:51:44Z",
  "aliases" : [ "CVE-2026-128117" ],
  "summary" : "SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames",
  "details" : "When `reroute` turned an invalid percent-encoded path into a valid path, it could potentially trigger a comparison that would crash the server.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@sveltejs/kit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@sveltejs/kit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.70.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/kit/security/advisories/GHSA-mw6w-2fmv-pvw3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/kit/pull/17620"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/kit/commit/7993d5ebab017cb1be898a0b1c57371c5da06557"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sveltejs/kit"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-248" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-13T20:51:44Z",
    "nvd_published_at" : null
  }
}