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.
References
- github.com/advisories/GHSA-jf9x-2fg2-hx4w
- github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0
- github.com/sveltejs/kit/pull/17620
- github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@3.0.11
- github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@4.0.1
- github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@6.3.5
- github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@7.0.2
- github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w
- nvd.nist.gov/vuln/detail/CVE-2026-128121
Code Behaviors & Features
Detect and mitigate CVE-2026-128121 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →