# CVE-2025-58179: Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-04T19:24:11.000Z
- Modified: 2026-06-17T09:44:01.297Z
- Also known as: GHSA-qpr4-c339-7vq8
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- withastro astro: >= 11.0.3, < 12.6.6
- @astrojs/cloudflare (npm): from 11.0.3 before 12.6.6
- astro @astrojs/cloudflare: from 11.0.3 before 12.6.6

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/withastro/astro/security/advisories/GHSA-qpr4-c339-7vq8> (exploit, vendor-advisory, web)
- <https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58179> (advisory)
- <https://github.com/withastro/astro> (package)

## Sources

- CVE List: [CVE-2025-58179](https://www.cve.org/CVERecord?id=CVE-2025-58179), CVE Terms of Use, modified 2025-09-05
- GitHub Advisory Database: [GHSA-qpr4-c339-7vq8](https://github.com/advisories/GHSA-qpr4-c339-7vq8), CC-BY-4.0, modified 2025-09-05
- NVD: [CVE-2025-58179](https://nvd.nist.gov/vuln/detail/CVE-2025-58179), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-58179 · Whole record: https://cve.day/CVE-2025-58179.json · Rebuilt by cve.day 2026-11-25T22:59:04.204Z
