CVE-2026-128121: SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static
If an attacker could influence a link that was crawled during the prerender phase, that link could later be interpreted as a regex in the Vercel routing configuration.
Published Nov 13, 2026
Affected packages
@sveltejs/adapter-vercel
- Ecosystem
- npm
- Affected
- < 6.3.5
- Fixed in
- 6.3.5
- Check
npm ls @sveltejs/adapter-vercel
@sveltejs/adapter-static
- Ecosystem
- npm
- Affected
- >= 4.0.0-next.0, < 4.0.1
- Fixed in
- 4.0.1
- Check
npm ls @sveltejs/adapter-static
@sveltejs/adapter-vercel
- Ecosystem
- npm
- Affected
- >= 7.0.0-next.0, < 7.0.2
- Fixed in
- 7.0.2
- Check
npm ls @sveltejs/adapter-vercel
@sveltejs/adapter-static
- Ecosystem
- npm
- Affected
- < 3.0.11
- Fixed in
- 3.0.11
- Check
npm ls @sveltejs/adapter-static
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
If an attacker could influence a link that was crawled during the prerender phase, that link could later be interpreted as a regex in the Vercel routing configuration.
Credited to elliott-with-the-longest-name-on-github.
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w
- https://github.com/sveltejs/kit/pull/17620
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/advisories/GHSA-jf9x-2fg2-hx4w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
