Cyber Resilience

CVE-2025-58179

SSRF in \@Astrojs\/Cloudflare 11.0.3 – 12.6.6

Public PoCSSRF
Published
05 September 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS Score 0.0083 54th percentile
Risk Priority 57 floored blend · peak EPSS

Summary

CVE-2025-58179 is a high-severity SSRF (CWE-918) vulnerability in Astro \@Astrojs\/Cloudflare. Its CVSS base score is 7.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 46% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Astro, a web framework for content-driven sites, contains an SSRF vulnerability in versions 11.0.3 through 12.6.5 when the Cloudflare adapter is used with output set to 'server' and the default imageService set to 'compile'. The generated image optimization endpoint fails to validate supplied URLs, and a flaw in the @astrojs/cloudflare adapter permits bypass of intended third-party domain restrictions, allowing the origin to serve arbitrary external content.

An unauthenticated remote attacker can supply crafted image URLs to the optimization endpoint and cause the vulnerable Astro deployment on Cloudflare to fetch and return content from any domain, achieving limited unauthorized data retrieval and potential abuse of the origin's network position.

The issue is resolved in Astro 12.6.6; the referenced GitHub advisory and commit detail the patch that restores proper URL validation within the Cloudflare adapter.

EPSS for the CVE rose materially from a low baseline to a peak of 0.0175 on 2025-12-11 before receding, indicating post-disclosure exploitation interest that warrants renewed attention despite the current low score.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-25545Same vendor: Astro
CVE-2026-27829Same vendor: Astro
CVE-2025-64525Same vendor: Astro
CVE-2025-64765Same vendor: Astro
CVE-2025-66202Same vendor: Astro
CVE-2024-56159Same vendor: Astro
CVE-2024-56140Same vendor: Astro
CVE-2025-59837Same vendor: Astro
CVE-2026-54299Same vendor: Astro
CVE-2025-46568Shared CWE-918

Affected Assets

astro
\@astrojs\/cloudflare
11.0.3 — 12.6.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.3.6
  • V1.5.3
  • V5.3.2
  • V10.4.7

Mitigating Controls (NIST 800-53 r5) AI

Information flow enforcement can restrict which destinations the server is allowed to contact on behalf of users.

Input validation directly stops untrusted URLs from being accepted and fetched without destination checks.

Boundary protection limits the network reach of server-initiated requests even if SSRF occurs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure development practices directly include input validation and destination allow-listing that prevent SSRF.

DE.CM-09 partial match
prevents

Runtime monitoring of web applications and services can detect anomalous outbound requests indicative of SSRF.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover and record SSRF flaws in web applications.

PR.IR-01 partial match
prevents

Network segmentation and egress controls can limit the damage from successful SSRF requests.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Operational threat data describing SSRF campaigns can be used to tighten outbound-request allow-lists and detection rules before attackers exploit them.

References