NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-128122: SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by `@sveltejs/adapter-cloudflare`

mediumCVSS 3.1 5.9GHSA-5wg4-q3ww-283h

If an attacker can influence the links crawled during prerendering, they can influence the redirects entries that are added to the Cloudflare platform redirects generated during the adapt phase of the build.

Published Nov 13, 2026

Affected packages

@sveltejs/adapter-cloudflare

Ecosystem
npm
Affected
>= 4.7.0, < 7.2.10
Fixed in
7.2.10
Check
npm ls @sveltejs/adapter-cloudflare

@sveltejs/adapter-cloudflare

Ecosystem
npm
Affected
>= 8.0.0-next.0, < 8.0.2
Fixed in
8.0.2
Check
npm ls @sveltejs/adapter-cloudflare

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

If an attacker can influence the links crawled during prerendering, they can influence the redirects entries that are added to the Cloudflare platform redirects generated during the adapt phase of the build.

Credited to elliott-with-the-longest-name-on-github, Rich-Harris.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology