CVE-2026-41321 PUBLISHED

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

Assigner: GitHub_M
Reserved: 20.04.2026 Published: 24.04.2026 Updated: 24.04.2026

@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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 2.2

Product Status

Vendor withastro
Product @astrojs/cloudflare
Versions
  • Version < 13.1.10 is affected

References

Problem Types

  • CWE-918: Server-Side Request Forgery (SSRF) CWE