PoC Monitor
← All CVEs
CVE-2025-58179published 4 Sep 2025 23:36 UTCData: JSON · API

Astro

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

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.

First public PoC 7.1 daysafter publication · 12 Sep 2025 · nuclei template
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS7.2high · scored by CNA · CWE-918
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

withastro astro
  • >= 11.0.3, < 12.6.6

Fixed in 12.6.6

Mitigation

Upgrade astro to 12.6.6 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published4 Sep 2025 · t = 0First public PoC12 Sep 2025 · t+7.1d

First public PoC 7.1 days after publication; not in CISA KEV. First PoC: nuclei template: Astro Cloudflare Adapter - Server Side Request Forgery (nuclei template, 12 Sep 2025).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
shitodcy/CVE-2025-58179-Check 11 Nov 2025 +67 d 2 Scanner

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Astro Cloudflare Adapter - Server Side Request Forgery12 Sep 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /_image
(?i)^/_image\?(?:.*&)?href=

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /_image
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2025-58179 withastro astro exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/_image"; http.uri; content:"href="; reference:url,poc.griffinguard.io/cve/CVE-2025-58179; classtype:web-application-attack; sid:9881003; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /_image
title: withastro astro exploit attempt (CVE-2025-58179)
id: gg-pocmon-cve-2025-58179-9881003
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-58179. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-58179
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/_image'
    cs-uri-query|contains|all:
      - 'href='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.58179