Vulnerability · Published Apr 24, 2026 · Assigned by GitHub_M
CVE-2026-41321@astrojs/cloudflare: SSRF via redirect following in Cloudflare image-binding-transform endpoint
Low 2.2
In plain English
A low-severity server-side request forgery in @astrojs/cloudflare from withastro. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
@astrojs/cloudflare is an SSR adapter for use with Cloudflare Workers targets. Prior to 13.1.10, the fetch() call for remote images in packages/integrations/cloudflare/src/utils/image-binding-transform.ts uses the default redirect: 'follow' behavior. This allows the Cloudflare Worker to follow HTTP redirects to arbitrary URLs, bypassing the isRemoteAllowed() domain allowlist check which only validates the initial URL. This vulnerabiity is caused by an incomplete fix for CVE-2025-58179. This vulnerability is fixed in 13.1.10.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @astrojs/cloudflare | 13.1.10 | GHSA-88gm-j2wx-58h6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| withastro | @astrojs/cloudflare | < 13.1.10 |
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/withastro/astro/security/advisories/GHSA-88gm-j2wx-58h6 x_refsource_CONFIRM