Skip to main content
VulnerabilityPublished Updated

CVE-2026-25545: withastro astro · Server-Side Request Forgery (SSRF)

Affects withastro astroSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Feb 2026

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq 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

ProductAffectedFixed in
withastroastroAffected
  • <9.5.4
Fixed in
  • 9.5.4
GitHubwithastro/astropkg:github/withastro/astroOther threatsAffected
  • <9.5.4
Fixed in
  • 9.5.4

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.

References

Community reviews

Loading reviews…