Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint
CVE-2025-58179Published 4 Sep 2025, 23:36 UTC
Real-world risk
3.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.2
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| astroCommon | >= 11.0.3, < 12.6.6 | 12.6.6 |
What to do
Update to a fixed version: 12.6.6.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Public proof of concept on GitHub
- Nuclei scanner template (link)
- CISA SSVC: proof of concept
EPSS 0.9% chance of exploitation in 30 days (percentile 62), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T4: Weaponized1.000
- 10 × impact 0.3 × prerequisites 1 × threat 13.000
- Rounded to one decimal between 0.1 and 103.0
Exploitation and evidence timeline
- 4 Sep 2025 Published
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 3.0 (cvss fallback)
Weakness
CWE-918