Astro - SSRF (CVE-2025-58179)
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.
psychologyCrowdSec Analysis
CVE-2025-58179 is a server-side request forgery (SSRF) vulnerability in Astro's Cloudflare adapter, affecting versions 11.0.3 through 12.6.5. This flaw allows attackers to bypass domain restrictions and have the server fetch and serve content from unauthorized third-party domains via the image optimization endpoint. Exploiting this vulnerability could enable threat actors to access internal resources or sensitive data, potentially leading to further attacks such as information disclosure or pivoting within the target environment. The issue is resolved in version 12.6.6.
CrowdSec has been tracking this vulnerability and its exploits since 15th of April 2026.
Data from the CrowdSec community indicates that exploitation of CVE-2025-58179 is highly selective and intelligence-driven. Threat actors use advanced reconnaissance and carefully choose their targets, often as part of sophisticated campaigns or advanced persistent threat operations. CrowdSec network telemetry also shows that exploitation of CVE-2025-58179 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.
Attackers exploit the image optimization endpoint by sending requests to URLs containing /_image?href=, supplying external URLs as the href parameter to trigger server-side requests and potentially serve unauthorized third-party content.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-09-04 |
| Rule Released | 2026-04-15 |
| CrowdSec First Seen | 2026-04-20 |