Skip to main content

SvelteKit EUVDEUVD-2026-54557

| CVE-2026-66062 MEDIUM
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-08-07 GitHub_M GHSA-29g2-3rmr-qm68
5.3
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI
5.3 MEDIUM

Network-reachable with no privileges or user interaction required; impact is availability-only with partial degradation, matching the ReDoS DoS class and GHSA description.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

3
Patch available
Aug 07, 2026 - 18:02 EUVD
Source Code Evidence Fetched
Aug 07, 2026 - 17:31 vuln.today
Analysis Generated
Aug 07, 2026 - 17:31 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 7 npm packages depend on @sveltejs/kit (5 direct, 3 indirect)

Ecosystem-wide dependent count for version 2.70.2.

DescriptionCVE.org

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.70.2, the content negotiation header parser used by SvelteKit's request handling (for headers such as Accept) uses a regular expression vulnerable to quadratic backtracking, so a maliciously crafted header value can cause excessive CPU consumption and degrade or deny service. Version 2.70.2 fixes the issue.

AnalysisAI

Remote denial-of-service in @sveltejs/kit (versions ≤ 2.70.1) is achievable by any unauthenticated attacker who sends a specially crafted Accept header, triggering quadratic backtracking in the framework's content negotiation regex and causing excessive CPU consumption. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms zero-barrier remote exploitation against default SvelteKit deployments, though real-world impact is partly mitigated where platform-level header length limits are in place. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in CISA KEV.

Technical ContextAI

SvelteKit's request handling uses a negotiate() function in packages/kit/src/utils/http.js to parse content negotiation headers such as Accept. The vulnerable regex - /([^/ ]+)/([^; ]+)[ ]*(?:;[ ]*q=([0-9.]+))?/ - lacked a start anchor (^), causing the JavaScript regex engine to attempt a match at every character position within the input string. When the input is a long string that never satisfies the pattern (e.g., repeated characters without a MIME-type slash separator), the engine backtracks quadratically - O(n²) - with respect to the input length n. This is the canonical ReDoS pattern classified under CWE-1333 (Inefficient Regular Expression Complexity). The fix, confirmed by commit diff, adds a ^ anchor to force a single-pass evaluation. The affected CPE is cpe:2.3:a:sveltejs:kit:*:*:*:*:*:*:*:* covering all kit versions up to and including 2.70.1.

RemediationAI

Upgrade @sveltejs/kit to version 2.70.2 or later; this is the vendor-confirmed fix as documented in the GitHub Security Advisory GHSA-29g2-3rmr-qm68 and release tag at https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.2. The patch (https://github.com/sveltejs/kit/commit/82712fc02c24b1dcf5b25d7a52129cd8455f04f5) anchors the content negotiation regex with ^, eliminating quadratic backtracking at negligible functional cost. If an immediate upgrade is not possible, configure upstream reverse proxies or load balancers to enforce strict Accept header size limits - for example, nginx's large_client_header_buffers directive or equivalent limits in AWS ALB or Cloudflare; the GHSA advisory identifies this as an existing mitigating factor on most platforms. Note that header size restriction is a compensating control only: a moderately sized malformed header below typical platform limits may still cause measurable CPU impact, so it does not substitute for patching.

More in Kit

View all
CVE-2024-23641 HIGH POC
7.5 Jan 24

SvelteKit is a web development kit. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authe

CVE-2025-67647 CRITICAL
9.1 Jan 15

SvelteKit 2.19.0-2.49.4 has SSRF/DoS affecting applications with prerendered routes. Can be exploited to make the server

CVE-2026-82259 HIGH
8.7 Aug 28

Denial of service in SvelteKit versions 2.49.0 through 2.53.2 is achievable by unauthenticated remote attackers who subm

CVE-2026-82261 HIGH
8.7 Aug 28

CPU exhaustion in SvelteKit's experimental remote form deserialization endpoint allows unauthenticated remote attackers

CVE-2026-82260 HIGH
8.7 Aug 28

Memory exhaustion in @sveltejs/kit versions 2.49.0 through 2.52.1 allows unauthenticated remote attackers to crash the s

CVE-2026-40073 HIGH
8.2 Apr 10

Request body size limit bypass in SvelteKit adapter-node allows unauthenticated attackers to submit oversized payloads,

CVE-2026-22803 HIGH
7.5 Jan 15

SvelteKit versions 2.49.0 through 2.49.4 are vulnerable to denial-of-service attacks through the experimental form remot

CVE-2026-82256 MEDIUM
6.9 Aug 28

Uncontrolled payload size acceptance in SvelteKit's remote form function handler allows unauthenticated remote attackers

CVE-2026-40074 MEDIUM
6.3 Apr 10

SvelteKit versions prior to 2.57.1 are vulnerable to denial of service when the redirect() function is called from the h

CVE-2026-82258 MEDIUM
5.9 Aug 28

Cross-user data disclosure in SvelteKit (npm/@sveltejs/kit versions 2.38.0 through 2.60.0) stems from a race condition i

CVE-2026-82257 MEDIUM
5.3 Aug 28

Prototype pollution in SvelteKit's remote form functions allows network-accessible attackers to remove methods from Java

CVE-2026-65472 MEDIUM
5.3 Jul 23

Unauthenticated broken access control in the Kit (formerly ConvertKit) WordPress plugin versions up to and including 3.3

Share

EUVD-2026-54557 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy