CVE-2025-58179 json
Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint
published 2025-09-04 14 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-26878 , GHSA-qpr4-c339-7vq8
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known, plus a Nuclei check
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.
Patch / fix
- npm @astrojs/cloudflare 12.6.6
- astro @astrojs/cloudflare 12.6.6
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 14 mo ago
Exploit prediction
0.87% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Astro Cloudflare Adapter - Server Side Request Forgery nuclei detection template
- github.com https://github.com/withastro/astro/security/advisories/GHSA-qpr4-c339-7vq8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @astrojs/cloudflare | >=11.0.3, <12.6.6 |
12.6.6 |
Affected products
- withastro astro
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252
web, patch
-
github.com
/withastro/astro/security/advisories/GHSA-qpr4-c339-7vq8
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-58179
advisory
-
github.com
/withastro/astro
package
Sources
- CVE List CVE-2025-58179
- GitHub Advisory GHSA-qpr4-c339-7vq8
- NVD CVE-2025-58179
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.