CVE-2026-128121
MEDIUM 5.9CVSS 3.1SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static
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.
- Published
- 13 Nov 2026
- Last modified
- 13 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-116CWE-625
- Also known as
- GHSA-jf9x-2fg2-hx4w
- Sources
- NVDJSONOSV GHSA-jf9x-2fg2-hx4wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @sveltejs/adapter-vercel | < 6.3.5 | 6.3.5 |
| OSV | npm | @sveltejs/adapter-static | >= 4.0.0-next.0, < 4.0.1 | 4.0.1 |
| OSV | npm | @sveltejs/adapter-vercel | >= 7.0.0-next.0, < 7.0.2 | 7.0.2 |
| OSV | npm | @sveltejs/adapter-static | < 3.0.11 | 3.0.11 |
References
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd · WEB
- https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0 · WEB
- https://github.com/sveltejs/kit/pull/17620 · WEB
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@3.0.11 · WEB
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@4.0.1 · WEB
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@6.3.5 · WEB
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@7.0.2 · WEB
- https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w · WEB
- https://github.com/sveltejs/kit · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Nov 2026)