Read the docs
TI-2025-35987 Aliases CVE-2025-58179GHSA-qpr4-c339-7vq8

Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint

Priority HIGH 71CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

Astro is a web framework for content-driven websites. Versions 11.0.3 through 12.6.5 are vulnerable to SSRF when using Astro's Cloudflare adapter. When configured with output: 'server' while using the default imageService: 'compile', the generated image optimization endpoint doesn't check the URLs it receives, allowing content from unauthorized third-party domains to be served. a A bug in impacted versions of the @astrojs/cloudflare adapter for deployment on Cloudflare’s infrastructure, allows an attacker to bypass the third-party domain restrictions and serve any content from the vulnerable origin. This issue is fixed in version 12.6.6.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0087 59th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed astro (withastro): 12.6.6@astrojs/cloudflare (npm): 12.6.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
withastroastro11.0.3 to before 12.6.612.6.6Patch availableCNA
—@astrojs/cloudflare (npm)11.0.3 to before 12.6.612.6.6Patch availableGHSA-qpr4-c339-7vq8
  • astro Vendorwithastro Affected 11.0.3 to before 12.6.6 Fixed in 12.6.6 Patch available CNA
  • @astrojs/cloudflare (npm) Vendor— Affected 11.0.3 to before 12.6.6 Fixed in 12.6.6 Patch available GHSA-qpr4-c339-7vq8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:astro:\@astrojs\/cloudflare:*:*:*:*:*:node.js:*:*11.0.3 to before 12.6.6Vulnerablewithastro
  • cpe:2.3:a:astro:\@astrojs\/cloudflare:*:*:*:*:*:node.js:*:* Versions 11.0.3 to before 12.6.6 Vulnerable ·withastro

Remediation

  • Fix · CNA astro (withastro) Fixed in 12.6.6
  • Fix · GHSA-qpr4-c339-7vq8 @astrojs/cloudflare (npm) Fixed in 12.6.6 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58179
  2. 2026-10-03 Alias added: GHSA-qpr4-c339-7vq8

References

Sources