SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static
Summary
| CVE | CVE-2026-128121 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-13 20:18:56 UTC |
| Updated | 2026-11-13 22:17:23 UTC |
| Description | SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to @sveltejs/adapter-vercel 6.3.5 and 7.0.2 and @sveltejs/adapter-static 3.0.11 and 4.0.1, an attacker-influenced link crawled during prerendering could be emitted into the generated Vercel routing configuration without escaping regular-expression metacharacters. The configuration could consequently interpret the path as regular-expression syntax, match unintended application paths, and expose content or behavior outside the intended path. This issue is fixed in @sveltejs/adapter-vercel 6.3.5 and 7.0.2 and @sveltejs/adapter-static 3.0.11 and 4.0.1. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-116 | CWE-625 | CWE-116 CWE-116: Improper Encoding or Escaping of Output | CWE-625 CWE-625: Permissive Regular Expression
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Sveltejs | Kit | affected < 2.70.4 | Not specified |
| CNA | Sveltejs | Kit | affected >= 3.0.0-next.0, < 3.1.1 | Not specified |
| CNA | @sveltejs | Adapter-vercel | affected < 6.3.5 | Not specified |
| CNA | @sveltejs | Adapter-vercel | affected >= 7.0.0-next.0, < 7.0.2 | Not specified |
| CNA | @sveltejs | Adapter-static | affected < 3.0.11 | Not specified |
| CNA | @sveltejs | Adapter-static | affected >= 4.0.0-next.0, < 4.0.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] | [email protected] | github.com | |
| github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd | [email protected] | github.com | |
| github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w | [email protected] | github.com | |
| github.com/sveltejs/kit/pull/17620 | [email protected] | github.com | |
| github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] | [email protected] | github.com | |
| github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] | [email protected] | github.com | |
| github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] | [email protected] | github.com | |
| github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.