Skip to content
Threat Brief

← All advisories

CVE-2026-128121

Medium 5.9No known exploitationFix available

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

Vendor advisory: GHSA-jf9x-2fg2-hx4w

Record last updated

CVSS score

5.9

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.4%

Higher than 39% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-116, CWE-625

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
@sveltejsadapter-static< 3.0.11Not documentedCVE Program
@sveltejsadapter-static>= 4.0.0-next.0, < 4.0.1Not documentedCVE Program
@sveltejsadapter-vercel< 6.3.5Not documentedCVE Program
@sveltejsadapter-vercel>= 7.0.0-next.0, < 7.0.2Not documentedCVE Program
npm@sveltejs/adapter-staticfrom 4.0.0-next.0 before 4.0.14.0.1GitHub Advisory Database
npm@sveltejs/adapter-staticall versions before 3.0.113.0.11GitHub Advisory Database
npm@sveltejs/adapter-vercelfrom 7.0.0-next.0 before 7.0.27.0.2GitHub Advisory Database
npm@sveltejs/adapter-vercelall versions before 6.3.56.3.5GitHub Advisory Database
sveltejskit< 2.70.4Not documentedCVE Program
sveltejskit>= 3.0.0-next.0, < 3.1.1Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references