Skip to content

CVE-2026-41321 @astrojs/cloudflare: SSRF via redirect following in Cloudflare image-binding-transform endpoint

LowCVSS 2.2 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
@astrojs/cloudflare(npm) < 13.1.10 13.1.10 Fixed
withastro @astrojs/cloudflare = < 13.1.10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
withastro @astrojs/cloudflare = < 13.1.10 No fix listed
@astrojs/cloudflare(npm) < 13.1.10 13.1.10

References