{"id":"CVE-2026-66062","published":"2026-08-07T16:49:43Z","modified":"2026-08-07T21:02:12Z","title":"SvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept header","vendor":"sveltejs","product":"kit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.44154,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-29g2-3rmr-qm68","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/kit/commit/82712fc02c24b1dcf5b25d7a52129cd8455f04f5","tags":["x_refsource_MISC"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":8.83},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"sveltejs","affectedVersions":[{"vendor":"sveltejs","product":"kit","versions":["< 2.70.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-07T20:58:04.458547Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@sveltejs/kit","vulnerableRanges":["<2.70.2"],"patched":["2.70.2"],"from":["GHSA-29g2-3rmr-qm68"],"provenance":"source"}],"summary":{"text":"The flaw is a regular expression in SvelteKit's content negotiation header parser, which handles headers such as Accept during request handling, that is vulnerable to quadratic backtracking. An unauthenticated remote attacker can send a maliciously crafted header value over the network to cause excessive CPU consumption, degrading or denying service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:46Z"},"euvd":{"id":"EUVD-2026-54557","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sveltejs-kit-cve-2023-29003","parents":[{"from":"CVE-2023-29003","to":"CVE-2026-66062","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/kit/src/utils/http.js"],"commits":["https://github.com/sveltejs/kit/commit/bb2253d51d00aba2e4353952d4fb0dcde6c77123","https://github.com/sveltejs/kit/commit/82712fc02c24b1dcf5b25d7a52129cd8455f04f5"],"basis":"rarely changed file"}]},{"from":"CVE-2023-29008","to":"CVE-2026-66062","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/kit/src/utils/http.js"],"commits":["https://github.com/sveltejs/kit/commit/ba436c6685e751d968a960fbda65f24cf7a82e9f","https://github.com/sveltejs/kit/commit/82712fc02c24b1dcf5b25d7a52129cd8455f04f5"],"basis":"shared function","functions":["negotiate"]}]}],"packageHistory":[{"cve":"CVE-2026-22803","published":"2026-01-15","fixed":"2.49.5","kev":false},{"cve":"CVE-2026-40073","published":"2026-04-10","fixed":"2.57.1","kev":false,"link":{"from":"CVE-2026-40073","to":"CVE-2026-66062","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sveltejs/kit","fromFixed":"2.57.1","toFixed":"2.70.2","daysApart":119}]}},{"cve":"CVE-2026-40074","published":"2026-04-10","fixed":"2.57.1","kev":false},{"cve":"CVE-2026-66062","published":"2026-08-07","fixed":"2.70.2","kev":false},{"cve":"CVE-2026-114060","published":"2026-10-21","fixed":"3.0.0","kev":false},{"cve":"CVE-2026-114061","published":"2026-10-21","fixed":"3.0.0","kev":false},{"cve":"CVE-2026-128116","published":"2026-11-13","fixed":"3.1.1","kev":false,"link":{"from":"CVE-2026-66062","to":"CVE-2026-128116","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sveltejs/kit","fromFixed":"2.70.2","toFixed":"2.70.4","daysApart":98}]}},{"cve":"CVE-2026-128117","published":"2026-11-13","fixed":"3.1.1","kev":false,"link":{"from":"CVE-2026-66062","to":"CVE-2026-128117","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sveltejs/kit","fromFixed":"2.70.2","toFixed":"2.70.4","daysApart":98}]}}],"package":"npm:@sveltejs/kit"}}