Skip to content

astro

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

CVE-2026-25545Published 24 Feb 2026, 00:37 UTC

Real-world risk

0.6/ 10Low

Routine

If the vulnerable configuration applies to you: 1.4

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.9

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
astroCommon< 9.5.49.5.4

What to do

Update to a fixed version: 9.5.4.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)
  • CISA SSVC: proof of concept

EPSS 1.9% chance of exploitation in 30 days (percentile 80), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.203
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.3 × prerequisites 0.2025 × threat 10.608
  4. Rounded to one decimal between 0.1 and 100.6

How the score works

Exploitation and evidence timeline

  1. 24 Feb 2026 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 0.6 (cvss fallback)

Weakness

CWE-918

References

Get alerts for astro

Free email or text alerts when a vulnerability in astro reaches risk 8 or higher. Nothing else.