CVE-2026-128121
Medium 5.9No known exploitationFix availableSvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static
Vendor advisory: GHSA-jf9x-2fg2-hx4w
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 39% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-116, CWE-625
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| @sveltejs | adapter-static | < 3.0.11 | Not documented | CVE Program |
| @sveltejs | adapter-static | >= 4.0.0-next.0, < 4.0.1 | Not documented | CVE Program |
| @sveltejs | adapter-vercel | < 6.3.5 | Not documented | CVE Program |
| @sveltejs | adapter-vercel | >= 7.0.0-next.0, < 7.0.2 | Not documented | CVE Program |
| npm | @sveltejs/adapter-static | from 4.0.0-next.0 before 4.0.1 | 4.0.1 | GitHub Advisory Database |
| npm | @sveltejs/adapter-static | all versions before 3.0.11 | 3.0.11 | GitHub Advisory Database |
| npm | @sveltejs/adapter-vercel | from 7.0.0-next.0 before 7.0.2 | 7.0.2 | GitHub Advisory Database |
| npm | @sveltejs/adapter-vercel | all versions before 6.3.5 | 6.3.5 | GitHub Advisory Database |
| sveltejs | kit | < 2.70.4 | Not documented | CVE Program |
| sveltejs | kit | >= 3.0.0-next.0, < 3.1.1 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-jf9x-2fg2-hx4w (opens in a new tab)github-advisory
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/pull/17620 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@3.0.11 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@4.0.1 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@6.3.5 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@7.0.2 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w (opens in a new tab)x_refsource_confirm