CVE-2026-25545: withastro astro · Server-Side Request Forgery (SSRF)
Affects withastro astroSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · CVSS 6.9 Medium : upgrade to 9.5.4 when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 1.9% chance of exploitation in 30 days – higher than 79% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.5.4
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Feb 2026
Detectable: evidence found.
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade astro and withastro/astro to 9.5.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| withastroastro | Affected
| Fixed in
|
GitHubwithastro/astropkg:github/withastro/astroOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-25545, organizations should immediately upgrade all Astro framework instances to version 9.5.4 or later, where the vulnerability is fixed. Additionally, implement strict validation of the Host header on all incoming HTTP requests to ensure it matches expected domain names and reject requests with unexpected or missing Host headers. Deploy web application firewalls (WAFs) or reverse proxies that enforce header validation and prevent direct access to origin IP addresses, thereby blocking attackers from bypassing header checks. Network segmentation should be enforced to restrict access to internal services and cloud metadata endpoints from the web server. Disable or tightly control the use of prerendered custom error pages that fetch external resources, or sanitize any dynamic content used in error handling. Regularly audit server logs for anomalous Host header values or unusual error page requests that may indicate attempted exploitation. Finally, conduct penetration testing and vulnerability scanning focused on SSRF vectors to identify and remediate any residual risks in the deployment environment.
Description
Astro is a web framework. Prior to version 9.5.4, Server-Side Rendered pages that return an error with a prerendered custom error page (eg. `404.astro` or `500.astro`) are vulnerable to SSRF. If the `Host:` header is changed to an attacker's server, it will be fetched on `/500.html` and they can redirect this to any internal URL to read the response body through the first request. An attacker who can access the application without `Host:` header validation (eg.through finding the origin IP behind a proxy, or just by default) can fetch their own server to redirect to any internal IP. With this they can fetch cloud metadata IPs and interact with services in the internal network or localhost. For this to be vulnerable, a common feature needs to be used, with direct access to the server (no proxies). Version 9.5.4 fixes the issue.