CVE-2026-25545
February 24, 2026
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.
Affected Packages
https://github.com/withastro/astro.git (GITHUB):
Affected version(s) >=@astrojs/node@0.0.2 <@astrojs/node@9.5.4Fix Suggestion:
Update to version @astrojs/node@9.5.4@astrojs/node (NPM):
Affected version(s) >=0.0.0-rc-20220721064837 <9.5.4Fix Suggestion:
Update to version 9.5.4Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Server-Side Request Forgery (SSRF)
EPSS
Base Score:
0.03