CVE-2026-40074
highpriority · track · 30EPSS 0.004 · 30 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 1.7–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-3f6h-2hrp-w5wx@sveltejs/kit: Unvalidated redirect in handle hook causes Denial-of-Service2026-04-10ghsa · osvUS
`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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-40074cnnvd
- https://github.com/sveltejs/kit/commit/10d7b44425c3d9da642eecce373d0c6ef83b4fcdcnnvd
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.57.1cnnvd
- https://github.com/sveltejs/kit/security/advisories/GHSA-3f6h-2hrp-w5wxcnnvd
- https://svelte.dev/Patchcnnvd
- https://github.com/sveltejs/kit/commit/10d7b44425c3d9da642eecce373d0c6ef83b4fcdenisa_euvd
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.57.1enisa_euvd
- https://github.com/sveltejs/kit/security/advisories/GHSA-3f6h-2hrp-w5wxenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan