Skip to main content
Menu
CVEs

CVE

Path regex injection exposes content in Vercel routing

CVE-2026-128121GHSA-JF9X-2FG2-HX4WEUVD-2026-125766

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

5.9MediumCNA
Exploited
No known exploitation
Fix
Fixed in kit 2.70.4, 3.1.1 · adapter-vercel 6.3.5, 7.0.2 · adapter-static 3.0.11, 4.0.1
Who is exposed
Not reported

Do first: Upgrade to a fixed version: kit 2.70.4, 3.1.1 · adapter-vercel 6.3.5, 7.0.2 · adapter-static 3.0.11, 4.0.1.

Published
Last modified
Reference
Last checked
0.44% · 38th percentile
39/100 · provisional
82% of @sveltejs/adapter-vercel downloads last week were affected versions (333K).npm, 405.8K downloads in the last 7 days, read Nov 14, 202672% of @sveltejs/adapter-static downloads last week were affected versions (1.2M).npm, 1.7M downloads in the last 7 days, read Nov 14, 2026
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

SvelteKit and the @sveltejs/adapter-vercel and @sveltejs/adapter-static packages are affected. A remote attacker who can get a crafted link crawled during prerendering can cause unintended application paths to be matched and their content exposed, because the generated Vercel routing configuration treats the path as regular-expression syntax.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Original 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.

cve.now Index

39Pcve.now Index 39 of 100 · methodology v3 · provisional
  • Exploitation0/40No signal
  • Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
  • Reach16/20@sveltejs/adapter-static: 1.7M downloads a week
  • Severity5.9/10CVSS 5.9
  • No patch0/5No signal

What would change the score

  • Would score about 84 if added to CISA KEV
  • Would score about 79 if CISA's SSVC rates exploitation active
  • Would score about 44 if advisories confirm default setups are exposed

Impact

  • Widely used

    @sveltejs/adapter-vercel has 405.8k weekly downloads.Source: npmjs.com

    2 packages depend on @sveltejs/adapter-vercel.Source: deps.dev

What to do

  • Upgrade to a fixed version: kit 2.70.4, 3.1.1 · adapter-vercel 6.3.5, 7.0.2 · adapter-static 3.0.11, 4.0.1.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-128121 (SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and…), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-128121 (entry last updated 2026-11-13):
Affected:
- sveltejs kit: fixed in 2.70.4; from 3.0.0-next.0, fixed in 3.1.1
- @sveltejs adapter-vercel: fixed in 6.3.5; from 7.0.0-next.0, fixed in 7.0.2
- @sveltejs adapter-static: fixed in 3.0.11; from 4.0.0-next.0, fixed in 4.0.1
- npm package @sveltejs/adapter-vercel: fixed in 6.3.5
- npm package @sveltejs/adapter-static: from 4.0.0-next.0, fixed in 4.0.1
- npm package @sveltejs/adapter-vercel: from 7.0.0-next.0, fixed in 7.0.2
- npm package @sveltejs/adapter-static: fixed in 3.0.11
Fixed versions: 2.70.4, 3.1.1, 6.3.5, 7.0.2, 3.0.11, 4.0.1.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-128121 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-128121 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w
- https://github.com/sveltejs/kit/pull/17620
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@3.0.11
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@4.0.1
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@6.3.5
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@7.0.2
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-128121
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-128121"}.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • sveltejs kit

    fixed in 2.70.4; From 3.0.0-next.0 · fixed in 3.1.1

  • @sveltejs adapter-vercel

    fixed in 6.3.5; From 7.0.0-next.0 · fixed in 7.0.2

  • @sveltejs adapter-static

    fixed in 3.0.11; From 4.0.0-next.0 · fixed in 4.0.1

  • fixed in 6.3.5

    Fixed in 6.3.5 (released Nov 5, 2026, 8 days before disclosure).

  • From 4.0.0-next.0 · fixed in 4.0.1

    Fixed in 4.0.1 (released Oct 29, 2026, 15 days before disclosure).

  • From 7.0.0-next.0 · fixed in 7.0.2

    Fixed in 7.0.2 (released Oct 29, 2026, 15 days before disclosure).

    The latest release, 7.0.3, is not affected.

  • fixed in 3.0.11

    Fixed in 3.0.11 (released Nov 5, 2026, 8 days before disclosure).

    The latest release, 4.0.1, is not affected.

Evidence 10

Vendor advisory · 1

Establishes: Affected and fixed versions.

  1. Advisory

CVE record · 2

Establishes: The identifier and description.

  1. Record
  2. Record

Other links · 7

  1. Repository
  2. Repository
  3. Repository
  4. Repository
  5. Repository
  6. Repository
  7. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-128121

Is CVE-2026-128121 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-128121?

kit: before 2.70.4; from 3.0.0-next.0 before 3.1.1. adapter-vercel: before 6.3.5; from 7.0.0-next.0 before 7.0.2. adapter-static: before 3.0.11; from 4.0.0-next.0 before 4.0.1. @sveltejs/adapter-vercel (npm): before 6.3.5. @sveltejs/adapter-static (npm): from 4.0.0-next.0 before 4.0.1. 2 more packages are listed on the page.Source: cve.now feed data

How do I fix CVE-2026-128121?

Upgrade to a fixed version: kit 2.70.4, 3.1.1 · adapter-vercel 6.3.5, 7.0.2 · adapter-static 3.0.11, 4.0.1.Source: cve.now feed data