{"id":"CVE-2026-128121","aliases":["DHI-vpgu-hyms-7fzn-3shl","EUVD-2026-125766","GHSA-jf9x-2fg2-hx4w"],"status":"published","title":"SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static","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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.0044,"percentile":0.40032,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-116","CWE-625"],"published":"2026-11-13T19:44:19Z","modified":"2026-12-01T23:00:16Z","fixes":[{"ecosystem":"npm","package":"@sveltejs/adapter-vercel","fixed_in":["6.3.5","7.0.2"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@sveltejs/adapter-static","fixed_in":["4.0.1","3.0.11"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@sveltejs/adapter-vercel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.5"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sveltejs/adapter-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-next.0"},{"fixed":"4.0.1"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sveltejs/adapter-vercel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0-next.0"},{"fixed":"7.0.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sveltejs/adapter-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.11"}]}]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.0-r1"}]}],"versions":["0.7.0-r1","0.7.0-r2","0.7.0-r3","0.7.0-r4","0.7.0-r5","0.7.0-r6","0.7.0-r7","0.8.0-r0","0.8.0-r1","0.9.0-r0","0.9.0-r1","0.9.0-r2","0.9.0-r3","0.9.0-r4","0.9.0-r5","0.9.0-r6","0.9.0-r7"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.0-r1"}]}],"versions":["0.7.0-r1","0.7.0-r2","0.7.0-r3","0.7.0-r4","0.7.0-r5","0.7.0-r6","0.7.0-r7","0.8.0-r0","0.8.0-r1","0.9.0-r0","0.9.0-r1","0.9.0-r2","0.9.0-r3","0.9.0-r4","0.9.0-r5","0.9.0-r6","0.9.0-r7"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.1.0-r0","1.1.0-r1"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.1.0-r0","1.1.0-r1"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.0-0"}]}],"versions":["0.6.0-0","0.7.0-0","0.7.0-1","0.7.0-2","0.7.0-3","0.7.0-4","0.7.0-5","0.7.0-6","0.7.0-7","0.8.0-0","0.8.0-1","0.9.0-0","0.9.0-1","0.9.0-2","0.9.0-3","0.9.0-4","0.9.0-5","0.9.0-6","0.9.0-7","0.9.0-8","0.9.0-9"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-0"}]}],"versions":["1.0.0-0","1.0.0-1","1.0.0-2","1.0.0-3","1.1.0-0","1.1.0-1","1.1.0-2"]},{"source":"osv","ecosystem":"npm","package":"@sveltejs/adapter-vercel","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.3.5"}]}]},{"source":"osv","ecosystem":"npm","package":"@sveltejs/adapter-static","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0-next.0"},{"fixed":"4.0.1"}]}]},{"source":"osv","ecosystem":"npm","package":"@sveltejs/adapter-vercel","ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0-next.0"},{"fixed":"7.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"@sveltejs/adapter-static","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.11"}]}]}],"products":[{"vendor":"@sveltejs","product":"adapter-static"},{"vendor":"@sveltejs","product":"adapter-vercel"},{"vendor":"sveltejs","product":"kit"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/sveltejs/kit/pull/17620","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@3.0.11","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@4.0.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@6.3.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@7.0.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/advisories/GHSA-jf9x-2fg2-hx4w","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128121.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128121","tags":["advisory"]},{"url":"https://scout.docker.com/v/DHI-vpgu-hyms-7fzn-3shl","tags":["advisory"]},{"url":"https://github.com/sveltejs/kit","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-128121","title":"SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static","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.","status":"published","published":"2026-11-13T19:44:19.075Z","modified":"2026-11-13T21:22:54.622Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-116","CWE-625"],"updated_at":"2026-11-13T20:34:17.615341Z"}],"euvd":[{"id":"EUVD-2026-125766","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.","status":"published","published":"2026-11-13T19:44:19Z","modified":"2026-11-13T21:22:54Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-13T23:41:01.258782Z"}],"ghsa":[{"id":"GHSA-jf9x-2fg2-hx4w","title":"SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static","description":"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.","status":"published","published":"2026-11-13T20:43:23Z","modified":"2026-11-13T20:43:24Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-116","CWE-625"],"updated_at":"2026-11-13T20:53:09.482975Z"}],"nvd":[{"id":"CVE-2026-128121","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.","status":"published","published":"2026-11-13T20:18:56.97Z","modified":"2026-11-13T22:17:23.167Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-116","CWE-625"],"updated_at":"2026-11-13T21:37:35.566528Z"}],"osv":[{"id":"CVE-2026-128121","title":"SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static","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.","status":"published","published":"2026-11-13T19:44:19.075Z","modified":"2026-11-15T02:46:34.189032072Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-116","CWE-625"],"updated_at":"2026-11-15T03:02:39.264057Z"},{"id":"DHI-vpgu-hyms-7fzn-3shl","upstream":["CVE-2026-128121"],"title":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to…","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.","status":"published","published":"2026-11-19T02:18:26Z","modified":"2026-12-01T23:00:16.950410955Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-12-01T23:12:44.981505Z"},{"id":"GHSA-jf9x-2fg2-hx4w","title":"SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static","description":"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.","status":"published","published":"2026-11-13T20:43:23Z","modified":"2026-11-13T21:00:03.964829462Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-116","CWE-625"],"updated_at":"2026-11-13T21:29:04.618664Z"}]}}
