CVE-2026-128121
SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static
Overview
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-116, CWE-625
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | @sveltejs/adapter-static | >=4.0.0-next.0, <4.0.1<3.0.11 | 4.0.13.0.11 |
| npm | @sveltejs/adapter-vercel | <6.3.5>=7.0.0-next.0, <7.0.2 | 6.3.57.0.2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/sveltejs/kit
- github.com https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- github.com https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0
- github.com https://github.com/sveltejs/kit/pull/17620
- github.com https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@3.0.11
- github.com https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@4.0.1
- github.com https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@6.3.5
- github.com https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@7.0.2
- github.com https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.