CVE-2026-25545CWE-918

Astro has Full-Read SSRF in error rendering via Host: header injection

Medium · published February 24, 2026

CVSS v4.0
6.9
EPSS
2%
Percentile
82.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
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
EPSS
0.02185 · 82.2th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2026-02-24T00:37Z
EPSS history
Timeline
  • 24 FEB 00:37Z
    Astro has Full-Read SSRF in error rendering via Host: header injection
    cvelistv5