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

Published Nov 13, 2026
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

4 affected componentsFixes available
npm/@sveltejs/adapter-static<3.0.11
3.0.11
npm/@sveltejs/adapter-vercel>=7.0.0-next.0<7.0.2
7.0.2
npm/@sveltejs/adapter-static>=4.0.0-next.0<4.0.1
4.0.1
npm/@sveltejs/adapter-vercel<6.3.5
6.3.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@sveltejs/adapter-static to a version that resolves this vulnerability.

    Fixed in 3.0.11
  2. Upgrade

    Upgrade npm/@sveltejs/adapter-vercel to a version that resolves this vulnerability.

    Fixed in 7.0.2
  3. Upgrade

    Upgrade npm/@sveltejs/adapter-static to a version that resolves this vulnerability.

    Fixed in 4.0.1
  4. Upgrade

    Upgrade npm/@sveltejs/adapter-vercel to a version that resolves this vulnerability.

    Fixed in 6.3.5

Event History

Nov 13, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:43 PM
Data Sourced
via GitHub·08:43 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using @sveltejs/adapter-vercel before 6.3.5 or 7.0.2, or @sveltejs/adapter-static before 3.0.11 or 4.0.1, are exposed when attacker-influenced links can be crawled during prerendering.

2

What must an attacker be able to do to exploit it?

The attacker must be able to influence a link that the application crawls during its prerender phase. The resulting path must then be emitted into the generated Vercel routing configuration, where regex metacharacters can be interpreted as routing syntax.

3

What is the likely impact after exploitation?

A crafted prerendered path can match unintended application paths in the Vercel routing configuration. This can expose content or application behavior outside the intended path, affecting confidentiality.

4

How can I remediate the issue?

Upgrade @sveltejs/adapter-vercel to 6.3.5 or 7.0.2, or upgrade @sveltejs/adapter-static to 3.0.11 or 4.0.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203