CVE-2026-41321
@astrojs/cloudflare: SSRF via redirect following in Cloudflare image-binding-transform endpoint
- State
- Published
- Severity
- 2.2 Low
- Published
- Apr 24, 2026
- Updated
- Apr 24, 2026
- Reserved
- Apr 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 2.2 Low | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
Affected Products
| Product | Versions |
|---|---|
@astrojs/cloudflarewithastro |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.