Vulnerabilities

Vulnerability · CVE-2026-40074

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte.

Published Apr 10, 2026 · catalog updated Jun 17, 2026 · SvelteKit is a framework

Check if you run it

No confirmed exploitation is on record for CVE-2026-40074. EPSS is 0.61%. Act only if a listed version of SvelteKit is a framework is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (SvelteKit is a framework).
  • No version range is stored. A customer cannot check an installed version against this record.
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium6.3
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.61%
Remediation
Advisory link
Affected products
cpe svelte/kit

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe svelte/kitversion unspecified

How to fix CVE-2026-40074

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-40074. EPSS is 0.61%. Act only if a listed version of SvelteKit is a framework is installed.

Which versions are affected?

Affected version ranges are not on this record. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-755: Improper Handling of Exceptional Conditions. EPSS 0.61%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Apr 10, 2026 · NIST NVD

    Detected

    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

  2. Jun 17, 2026 · NIST NVD

    Updated

    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

Sources

  • CVE.orgVulnerability recordCVE-2026-40074

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-40074

    30-day exploitation probability 0.6%

    first.org
  • NIST NVDVulnerability recordCVE-2026-40074

    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 T

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.