CVE-2026-40074
published medium CVSS 4.0 · 6.3SvelteKit's invalidated redirect in handle hook causes Denial-of-Service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sveltejs | — | kit< 2.57.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sveltejs | kit | < 2.57.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-755 CWE-755: Improper Handling of Exceptional Conditions
References
3Provider assertions
2GitHub_M · cna
SvelteKit's invalidated redirect in handle hook causes Denial-of-Service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 10a35620a58ca838082d042336e84a9afa28d00503a6888807988d3bc6815104
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record