CVE-2026-128121: SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static
Published 2026-11-13 · Updated 2026-11-13 · Also known as GHSA-jf9x-2fg2-hx4w
Summary
Prerendered paths are incorrectly interpreted as regular expressions in Vercel route configurations generated by SvelteKit adapters. Engineering and security teams using @sveltejs/adapter-vercel or @sveltejs/adapter-static must update their packages.
Who is affected
This vulnerability affects applications using @sveltejs/adapter-vercel or @sveltejs/adapter-static where an attacker can influence a link crawled during the prerender phase. The resulting misinterpretation in Vercel routing configuration leads to unauthorized access and confidentiality impacts. The attack vector is network-based with high attack complexity and no user interaction required.
Exploitability
The vulnerability has a CVSS base score of 5.9 (Medium) with a vector indicating network accessibility and high attack complexity, requiring no privileges or user interaction. It maintains a low EPSS score of 0.004, and CISA KEV lists active exploitation as no.
Remediation
- Update @sveltejs/adapter-static to version 3.0.11, 4.0.1, or later.
- Update @sveltejs/adapter-vercel to version 6.3.5, 7.0.2, or later.
How to check your project
- Check package.json for @sveltejs/adapter-vercel versions under 6.3.5 or between 7.0.0-next.0 and 7.0.1.
- Check package.json for @sveltejs/adapter-static versions under 3.0.11 or between 4.0.0-next.0 and 4.0.0.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | @sveltejs/adapter-static |
>= 4.0.0-next.0, < 4.0.1 | 4.0.1 | npm install @sveltejs/[email protected] |
| npm | @sveltejs/adapter-static |
>= 0, < 3.0.11 | 3.0.11 | npm install @sveltejs/[email protected] |
| npm | @sveltejs/adapter-vercel |
>= 0, < 6.3.5 | 6.3.5 | npm install @sveltejs/[email protected] |
| npm | @sveltejs/adapter-vercel |
>= 7.0.0-next.0, < 7.0.2 | 7.0.2 | npm install @sveltejs/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | None |
| Availability | None |
FAQ
What causes the vulnerability?
Prerendered paths crawled during the prerender phase are improperly interpreted as regular expressions in the Vercel route configuration generated by the adapters.
Are all SvelteKit deployments affected?
Only projects using @sveltejs/adapter-vercel or @sveltejs/adapter-static that process influenced prerendered links are affected.
Is there active exploitation observed in the wild?
No, CISA KEV does not list this vulnerability as having known active exploitation.
Original advisory description
References
- WEB https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w
- WEB https://github.com/sveltejs/kit/pull/17620
- WEB https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- WEB https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0
- PACKAGE https://github.com/sveltejs/kit
- WEB https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- WEB https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- WEB https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- WEB https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
Source records: GHSA-jf9x-2fg2-hx4w (OSV.dev) · EPSS by FIRST, 2026-11-26.