Servers and applications
CVE-2026-40074
Unvalidated redirect in handle hook causes Denial-of-Service
- Severity
- Medium 6.3
- Published
- 9 Apr 2026
- Last changed
- 9 Apr 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 2.57.1
- Exploit chance
- 0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 18 Nov 2026
- Weakness
- CWE-755
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS 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- Also known as
- GHSA-3f6h-2hrp-w5wx
- Sources
- Project advisories (GitHub)
Description
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.
Affected software
| Software | Affected versions |
|---|---|
SvelteKitServers and applications · github:sveltejs/kit |
|
About SvelteKit
web development, streamlined
- Weekly downloads (npm)
- 5,264,899npm, 15 Nov 2026
- GitHub stars
- 20,912GitHub, 15 Nov 2026
- Forks
- 2,382GitHub, 15 Nov 2026
- Latest release
- @sveltejs/[email protected]GitHub, 15 Nov 2026
- Released
- 10 Nov 2026GitHub
- License
- MITGitHub
- First published on GitHub
- 15 Oct 2020GitHub
Vulnerabilities in SvelteKit
- In our list
- 34
- Published in the last 12 months
- 29
- Critical, last 12 months
- 0
- High, last 12 months
- 7
- Known exploited
- 0
- CVE-2026-128123SvelteKit: `@sveltejs/adapter-node` crashes when proxying certain requests via `fetch`Medium 5.9 13 Nov 2026
- CVE-2026-128122SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by `@sveltejs/adapter-cloudflare`Medium 5.9 13 Nov 2026
- CVE-2026-128121SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-staticMedium 5.9 13 Nov 2026
- GHSA-rqp5-r3wg-vg35Protocol-relative module import during server-side route resolution allows cross-origin script executionMedium 5.3 29 Oct 2026
- CVE-2026-128116Protocol-relative module import during server-side route resolution allows cross-origin script executionMedium 5.3 29 Oct 2026
- GHSA-mw6w-2fmv-pvw3Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-nodeMedium 5.9 29 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-40074
- GitHub Advisory Database https://github.com/advisories/GHSA-3f6h-2hrp-w5wx
- github.com https://github.com/sveltejs/kit/security/advisories/GHSA-3f6h-2hrp-w5wx