All vulnerabilities

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.

From sveltejs/kit's security advisory.

Affected software

SoftwareAffected versions
SvelteKitServers and applications · github:sveltejs/kit
  • Every version before 2.57.1

About SvelteKit

web development, streamlined

From its GitHub repository.
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

References