CVE-2026-40074: sveltejs kit · Improper Handling of Exceptional Conditions
Affects sveltejs kitSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.57.1 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.57.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade sveltejs kit to 2.57.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| sveltejskit | Affected
| Fixed in
|
AI-suggested
Upgrade SvelteKit to version 2.57.1 or later, where this vulnerability is fixed. Since the vendor advisory confirms the fix in 2.57.1, applying this official update is the recommended remediation. Patch status is confirmed by the vendor advisory. No additional mitigation steps are indicated.
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.