{"id":"CVE-2026-128117","aliases":["DHI-u54p-3ec2-khhv-64n6","EUVD-2026-125729","GHSA-mw6w-2fmv-pvw3"],"status":"published","title":"SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node","description":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00477,"percentile":0.42865,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-248"],"published":"2026-11-13T19:29:04Z","modified":"2026-12-01T23:00:18Z","fixes":[{"ecosystem":"npm","package":"@sveltejs/kit","fixed_in":["3.1.1","2.70.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@sveltejs/kit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.1.1"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sveltejs/kit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.70.4"}]}]},{"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/kit","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.1.1"}]}]},{"source":"osv","ecosystem":"npm","package":"@sveltejs/kit","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.70.4"}]}]}],"products":[{"vendor":"sveltejs","product":"kit"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-mw6w-2fmv-pvw3","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/7993d5ebab017cb1be898a0b1c57371c5da06557","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/advisories/GHSA-mw6w-2fmv-pvw3","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128117.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128117","tags":["advisory"]},{"url":"https://scout.docker.com/v/DHI-u54p-3ec2-khhv-64n6","tags":["advisory"]},{"url":"https://github.com/sveltejs/kit","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-128117","title":"SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node","description":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.","status":"published","published":"2026-11-13T19:29:04.744Z","modified":"2026-11-13T21:22:10.163Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-248"],"updated_at":"2026-11-13T20:34:17.615341Z"}],"euvd":[{"id":"EUVD-2026-125729","description":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.","status":"published","published":"2026-11-13T19:29:04Z","modified":"2026-11-13T21:22:10Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-13T23:41:01.258782Z"}],"ghsa":[{"id":"GHSA-mw6w-2fmv-pvw3","title":"SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames","description":"When `reroute` turned an invalid percent-encoded path into a valid path, it could potentially trigger a comparison that would crash the server.","status":"published","published":"2026-11-13T20:51:44Z","modified":"2026-11-13T20:51:48Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-248"],"updated_at":"2026-11-13T20:53:09.482975Z"}],"nvd":[{"id":"CVE-2026-128117","description":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.","status":"published","published":"2026-11-13T20:18:56.367Z","modified":"2026-11-13T22:17:23.06Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-248"],"updated_at":"2026-11-13T21:37:35.566528Z"}],"osv":[{"id":"CVE-2026-128117","title":"SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node","description":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.","status":"published","published":"2026-11-13T19:29:04.744Z","modified":"2026-11-15T02:46:34.375432439Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-248"],"updated_at":"2026-11-15T03:02:39.264057Z"},{"id":"DHI-u54p-3ec2-khhv-64n6","upstream":["CVE-2026-128117"],"title":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions…","description":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.","status":"published","published":"2026-11-19T02:04:03Z","modified":"2026-12-01T23:00:18.909943664Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-12-01T23:12:44.981505Z"},{"id":"GHSA-mw6w-2fmv-pvw3","title":"SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames","description":"When `reroute` turned an invalid percent-encoded path into a valid path, it could potentially trigger a comparison that would crash the server.","status":"published","published":"2026-11-13T20:51:44Z","modified":"2026-11-13T21:00:03.987248875Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-248"],"updated_at":"2026-11-13T21:29:04.618664Z"}]}}
