nday
CVE-2026-128121 GHSA-jf9x-2fg2-hx4w

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

sveltejs / kit · @sveltejs / adapter-vercel, adapter-static

Patched on the day of disclosure. Patched: fixed in @sveltejs/adapter-vercel 6.3.5, @sveltejs/adapter-static 4.0.1 and 2 more. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-jf9x-2fg2-hx4w: npm packages @sveltejs/adapter-static, @sveltejs/adapter-vercel
stage
PAT
disclosed
disclosure → patch
T+0d
cvss
5.9 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-13T19:44Z
PATpatch
11-13T21:01Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 5.9, medium.

src cvelist · nday , observed live · raw
{
  "id": 471221,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-128121",
  "occurred_at": "2026-11-13T19:44:19.075Z",
  "observed_at": "2026-11-13T20:04:30.42394Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 5.9,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-13T21:22:41.259065Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-13T19:44:19.075Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed versions @sveltejs/adapter-vercel 6.3.5, @sveltejs/adapter-static 4.0.1, @sveltejs/adapter-vercel 7.0.2 and 1 more. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-jf9x-2fg2-hx4w · nday , observed live · raw
{
  "id": 471433,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-jf9x-2fg2-hx4w",
  "occurred_at": null,
  "observed_at": "2026-11-13T21:01:12.58886Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-jf9x-2fg2-hx4w",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.9,
        "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Encoding or Escaping of Output",
        "cwe_id": "CWE-116"
      },
      {
        "name": "Permissive Regular Expression",
        "cwe_id": "CWE-625"
      }
    ],
    "ghsa_id": "GHSA-jf9x-2fg2-hx4w",
    "packages": [
      {
        "name": "@sveltejs/adapter-vercel",
        "ecosystem": "npm",
        "first_patched_version": "6.3.5",
        "vulnerable_version_range": "< 6.3.5"
      },
      {
        "name": "@sveltejs/adapter-static",
        "ecosystem": "npm",
        "first_patched_version": "4.0.1",
        "vulnerable_version_range": ">= 4.0.0-next.0, < 4.0.1"
      },
      {
        "name": "@sveltejs/adapter-vercel",
        "ecosystem": "npm",
        "first_patched_version": "7.0.2",
        "vulnerable_version_range": ">= 7.0.0-next.0, < 7.0.2"
      },
      {
        "name": "@sveltejs/adapter-static",
        "ecosystem": "npm",
        "first_patched_version": "3.0.11",
        "vulnerable_version_range": "< 3.0.11"
      }
    ],
    "severity": "medium",
    "references": [
      "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/[email protected]",
      "https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]",
      "https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]",
      "https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]",
      "https://github.com/advisories/GHSA-jf9x-2fg2-hx4w"
    ],
    "fix_commit_urls": [
      "https://github.com/sveltejs/kit/pull/17620",
      "https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd",
      "https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0"
    ],
    "github_reviewed_at": "2026-11-13T20:43:23Z",
    "advisory_updated_at": "2026-11-13T20:43:24Z",
    "source_code_location": "https://github.com/sveltejs/kit",
    "advisory_published_at": "2026-11-13T20:43:23Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.