@sveltejs/adapter-cloudflare · SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by
Affects @sveltejs/adapter-cloudflareSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 7.2.10 when convenient.
Data as of 13 Nov 2026, 21:20 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 7.2.10, 8.0.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade @sveltejs/adapter-cloudflare to 7.2.10; @sveltejs/adapter-cloudflare to 8.0.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@sveltejs/adapter-cloudflare | Affected
| Fixed in
|
| npm@sveltejs/adapter-cloudflare | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by upgrading to @sveltejs/adapter-cloudflare version 7.2.10 or 8.0.2 or later. No additional mitigation steps are indicated. Users should verify they are running a fixed version to prevent exploitation.
Description
A vulnerability in @sveltejs/adapter-cloudflare allows attackers who can influence prerendered redirect paths to inject arbitrary rules into the _redirects file generated during the build adapt phase. This affects versions >=4.7.0 <7.2.10 and >=8.0.0-next.0 <8.0.2. The flaw can lead to unauthorized control over redirect entries on the Cloudflare platform. Fixed versions 7.2.10 and 8.0.2 address this issue.
References
- github.com/sveltejs/kit/security/advisories/GHSA-5wg4-q3ww-283h (opens in a new tab)
- github.com/sveltejs/kit/pull/17620 (opens in a new tab)
- github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd (opens in a new tab)
- github.com/sveltejs/kit/commit/679e0d84ea9951bb4f1e458a599066b5a451b08a (opens in a new tab)
- github.com/sveltejs/kit (opens in a new tab)
- github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@7.2.10 (opens in a new tab)
- github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@8.0.2 (opens in a new tab)