Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-25545: CWE-918: Server-Side Request Forgery (SSRF) in withastro astro

0
Medium
VulnerabilityCVE-2026-25545cvecve-2026-25545cwe-918
Published: Tue Feb 24 2026 (02/24/2026, 00:37:05 UTC)
Source: CVE Database V5
Vendor/Project: withastro
Product: astro

Description

CVE-2026-25545 is a Server-Side Request Forgery (SSRF) vulnerability affecting the Astro web framework versions prior to 9. 5. 4. The flaw occurs when server-side rendered error pages (e. g. , 404. astro or 500. astro) fetch resources based on the Host header without proper validation. An attacker who can manipulate the Host header and access the server directly (bypassing proxies or via origin IP) can cause the server to fetch arbitrary internal URLs, including cloud metadata services or localhost endpoints. This allows reading sensitive internal responses, potentially exposing confidential data or enabling further internal network attacks.

AI-Powered Analysis

AILast updated: 02/24/2026, 01:03:45 UTC

Technical Analysis

CVE-2026-25545 is a Server-Side Request Forgery (SSRF) vulnerability identified in the Astro web framework before version 9.5.4. Astro uses server-side rendering for its web pages, including custom error pages such as 404.astro or 500.astro. The vulnerability arises when these error pages fetch resources based on the HTTP Host header without proper validation. An attacker who can manipulate the Host header to point to an attacker-controlled server can cause the Astro server to fetch that server's content during error page rendering. More critically, the attacker can redirect this fetch to internal network addresses, including cloud provider metadata IPs or localhost services, thereby reading sensitive internal responses. This SSRF exploit requires the attacker to have direct access to the application server without intermediary proxies that validate or restrict Host headers. The flaw leverages a common feature of Astro’s error page rendering, making it broadly exploitable in affected versions. The vulnerability was assigned CVE-2026-25545 and has a CVSS 4.0 score of 6.9, indicating medium severity. The attack vector is network-based but requires high attack complexity and no privileges or user interaction. The scope is changed as internal resources can be accessed, impacting confidentiality partially. The vulnerability was fixed in Astro version 9.5.4. No known active exploits have been reported, but the potential for sensitive data exposure and internal network reconnaissance is significant.

Potential Impact

Organizations running vulnerable versions of the Astro framework (prior to 9.5.4) face risks of internal network exposure and data leakage. Attackers exploiting this SSRF can access internal services that are normally inaccessible externally, such as cloud metadata endpoints, which often contain sensitive credentials and configuration data. This can lead to further compromise of cloud infrastructure, lateral movement within internal networks, and exposure of confidential information. The vulnerability can also be used to interact with localhost services, potentially exploiting other local vulnerabilities or accessing sensitive APIs. Since the flaw requires direct server access without Host header validation, environments exposing origin IPs or lacking proper proxy configurations are at higher risk. The impact is particularly critical for cloud-hosted applications and enterprises relying on Astro for web services, as it can undermine the confidentiality and integrity of internal resources. Although no active exploits are known, the medium severity score and the nature of SSRF attacks suggest a significant threat if exploited. Organizations could face data breaches, service disruptions, and compliance violations if this vulnerability is exploited.

Mitigation Recommendations

To mitigate CVE-2026-25545, organizations should immediately upgrade Astro to version 9.5.4 or later, where the vulnerability is patched. Additionally, implement strict Host header validation on all incoming requests to ensure only legitimate hostnames are accepted, preventing attackers from injecting malicious Host values. Deploy web application firewalls (WAFs) with rules to detect and block suspicious SSRF patterns, especially requests with unusual Host headers or error page triggers. Restrict direct access to application origin IPs by enforcing proxy usage and network segmentation, ensuring that internal services and metadata endpoints are not accessible from untrusted networks. Employ network-level controls such as firewall rules to block outbound requests from the application server to internal IP ranges unless explicitly required. Monitor logs for unusual error page requests or unexpected internal resource fetches. Finally, conduct regular security assessments and penetration testing focusing on SSRF and header injection vectors to proactively identify and remediate similar issues.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-02T19:59:47.375Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 699cf533be58cf853bf604dc

Added to database: 2/24/2026, 12:47:47 AM

Last enriched: 2/24/2026, 1:03:45 AM

Last updated: 2/24/2026, 5:16:40 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats