Skip to content

CVE-2026-128121 SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static

MediumCVSS 5.9 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

5 packages: 2 fixed.

PackageAffectedFixed inStatus
sveltejs @sveltejs/adapter-vercel(npm) < 6.3.5; >= 7.0.0-next.0, < 7.0.2 6.3.5, 7.0.2 Fixed
sveltejs adapter-static(npm) < 3.0.11; >= 4.0.0-next.0, < 4.0.1 3.0.11, 4.0.1 Fixed
sveltejs @sveltejs/adapter-vercel = < 6.3.5; = >= 7.0.0-next.0, < 7.0.2 No fix listed Versions listed
sveltejs @sveltejs/kit = < 2.70.4; = >= 3.0.0-next.0, < 3.1.1 No fix listed Versions listed
sveltejs adapter-static = < 3.0.11; = >= 4.0.0-next.0, < 4.0.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
sveltejs @sveltejs/adapter-vercel(npm) < 6.3.5 6.3.5
sveltejs adapter-static(npm) >= 4.0.0-next.0, < 4.0.1 4.0.1
sveltejs @sveltejs/adapter-vercel(npm) >= 7.0.0-next.0, < 7.0.2 7.0.2
sveltejs adapter-static(npm) < 3.0.11 3.0.11
sveltejs @sveltejs/kit = < 2.70.4 No fix listed
sveltejs @sveltejs/kit = >= 3.0.0-next.0, < 3.1.1 No fix listed
sveltejs @sveltejs/adapter-vercel = < 6.3.5 No fix listed
sveltejs @sveltejs/adapter-vercel = >= 7.0.0-next.0, < 7.0.2 No fix listed
sveltejs adapter-static = < 3.0.11 No fix listed
sveltejs adapter-static = >= 4.0.0-next.0, < 4.0.1 No fix listed

References