{"id":"CVE-2026-40074","aliases":["CVE-2026-40074","GHSA-3f6h-2hrp-w5wx"],"related":[],"kind":"vulnerability","state":"published","title":"SvelteKit's invalidated redirect in handle hook causes Denial-of-Service","summary":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.57.1, redirect, when called from inside the handle server hook with a location parameter containing characters that are invalid in a HTTP header, will cause an unhandled TypeError. This could result in DoS on some platforms, especially if the location passed to redirect contains unsanitized user input. This vulnerability is fixed in 2.57.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.57.1, redirect, when called from inside the handle server hook with a location parameter containing characters that are invalid in a HTTP header, will cause an unhandled TypeError. This could result in DoS on some platforms, especially if the location passed to redirect contains unsanitized user input. This vulnerability is fixed in 2.57.1.","source":"cvelist"},{"lang":"en","text":"`redirect`, when called from inside the `handle` server hook with a location parameter containing characters that are invalid in a HTTP header, will cause an unhandled `TypeError`. This could result in DoS on some platforms, especially if the location passed to `redirect` contains unsanitized user input.","format":"markdown","source":"ghsa"},{"lang":"es","text":"SvelteKit es un framework para desarrollar rápidamente aplicaciones web robustas y de alto rendimiento usando Svelte. Antes de la versión 2.57.1, ’redirect’, cuando se llama desde dentro del hook del servidor ’handle’ con un parámetro ’location’ que contiene caracteres no válidos en una cabecera HTTP, causará un TypeError no manejado. Esto podría resultar en DoS en algunas plataformas, especialmente si la ubicación pasada a ’redirect’ contiene entrada de usuario no saneada. Esta vulnerabilidad está corregida en la versión 2.57.1.","source":"nvd"}],"published":"2026-04-10T16:26:07.068Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-755"],"affected":[{"ranges":[{"version":"< 2.57.1","status":"affected"}],"vendor":"sveltejs","product":"kit","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.57.1"}],"ecosystem":"npm","package":"@sveltejs/kit","purl":"pkg:npm/%40sveltejs/kit","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.57.1"}],"vendor":"svelte","product":"kit","cpe":"cpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-3f6h-2hrp-w5wx","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/kit/commit/10d7b44425c3d9da642eecce373d0c6ef83b4fcd","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.57.1","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40074","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/kit","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.57.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-14T14:17:18.734Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40074","url":"https://www.cve.org/CVERecord?id=CVE-2026-40074","licence":"CVE Terms of Use","modified":"2026-04-14T14:17:29.422Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3f6h-2hrp-w5wx","url":"https://github.com/advisories/GHSA-3f6h-2hrp-w5wx","licence":"CC-BY-4.0","modified":"2026-04-10T20:03:55.059Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40074","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40074","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.525Z","epss":{"score":0.00647,"percentile":0.45686,"date":"2026-11-30T12:00:22.000Z"}}