CVE-2026-128121
JSON

5.9medium

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

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jf9x-2fg2-hx4w

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.

Affected

Product or packageVersionsReported by
sveltejs kit< 2.70.4, >= 3.0.0-next.0, < 3.1.1CVE List
@sveltejs adapter-vercel< 6.3.5, >= 7.0.0-next.0, < 7.0.2CVE List
@sveltejs adapter-static< 3.0.11, >= 4.0.0-next.0, < 4.0.1CVE List
@sveltejs/adapter-vercel (npm)before 6.3.5, from 7.0.0-next.0 before 7.0.2GitHub Advisory Database
@sveltejs/adapter-static (npm)from 4.0.0-next.0 before 4.0.1, before 3.0.11GitHub Advisory Database

All scores

GitHub_M5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-116CWE-625

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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

Sources

SourceRecordLicence
CVE ListCVE-2026-128121 changed 2026-11-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-jf9x-2fg2-hx4w changed 2026-11-13CC-BY-4.0
NVDCVE-2026-128121 changed 2026-11-13Public domain