CVE-2026-40074
SvelteKit's invalidated redirect in handle hook causes Denial-of-Service
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.372% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.3 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
Assessment source · checked 2026-11-19T19:05:34.288Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:34.288Z | CVE Program |
| epss | verified | 2026-11-19T20:08:18.563Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:45.862Z | OSV |
| affected | verified | 2026-11-19T19:05:34.288Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:34.288Z | CVE Program |
Affected versions and configuration
sveltejs kit; default status: unknown: < 2.57.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "sveltejs",
"product": "kit",
"versions": [
{
"status": "affected",
"version": "< 2.57.1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-40074",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-04-14T14:17:18.734745Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-14T14:17:29.422Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-3f6h-2hrp-w5wx",
"aliases": [
"CVE-2026-40074"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.57.1"
}
]
}
],
"package": {
"name": "@sveltejs/kit",
"purl": "pkg:npm/%40sveltejs/kit",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-3f6h-2hrp-w5wx/GHSA-3f6h-2hrp-w5wx.json",
"last_known_affected_version_range": "<= 2.57.0"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/sveltejs/kit/security/advisories/GHSA-3f6h-2hrp-w5wx",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40074",
"type": "ADVISORY"
},
{
"url": "https://github.com/sveltejs/kit/commit/10d7b44425c3d9da642eecce373d0c6ef83b4fcd",
"type": "WEB"
},
{
"url": "https://github.com/sveltejs/kit",
"type": "PACKAGE"
},
{
"url": "https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.57.1",
"type": "WEB"
},
{
"url": "https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-755"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-04-10T17:17:12Z",
"github_reviewed_at": "2026-04-10T17:32:00Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | @sveltejs/kit | Not a distribution channel | 2.57.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:05:34.288ZArchived source JSON
Source publication: 2026-04-10T16:26:07.068Z
Source modification: 2026-04-14T14:17:29.422ZDocument fingerprint
10a35620a58ca838082d042336e84a9afa28d00503a6888807988d3bc6815104 - OSVConsulted: 2026-11-19T19:03:45.862ZArchived source JSON
Source publication: 2026-04-10T17:32:00.000Z
Source modification: 2026-04-10T20:03:55.059ZDocument fingerprint
a12d6af1728f1809b8855de2e62957934018507a3cec0eecc92aa704c0eaadf5 - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T20:08:18.563ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
9b959998d9c1f17ae0cf6c6429cf0a48b906d04d4838c37540bc34a145145e49
Official status history
- UNKNOWN → PUBLISHED · · evidence