CVE-2026-25545

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:astro:\@astrojs\/node:*:*:*:*:*:node.js:*:*

History

25 Feb 2026, 15:19

Type Values Removed Values Added
Summary
  • (es) Astro es un web framework. Antes de la versión 9.5.4, las páginas renderizadas en el lado del servidor que devuelven un error con una página de error personalizada prerrenderizada (por ejemplo, '404.astro' o '500.astro') son vulnerables a SSRF. Si el encabezado 'Host:' se cambia al servidor de un atacante, será obtenido en '/500.html' y pueden redirigir esto a cualquier URL interna para leer el cuerpo de la respuesta a través de la primera solicitud. Un atacante que puede acceder a la aplicación sin validación del encabezado 'Host:' (por ejemplo, al encontrar la IP de origen detrás de un proxy, o simplemente por defecto) puede obtener su propio servidor para redirigir a cualquier IP interna. Con esto pueden obtener IPs de metadatos de la nube e interactuar con servicios en la red interna o localhost. Para que esto sea vulnerable, se necesita usar una característica común, con acceso directo al servidor (sin proxies). La versión 9.5.4 corrige el problema.
References () https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9 - () https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9 - Patch
References () https://github.com/withastro/astro/releases/tag/%40astrojs%2Fnode%409.5.4 - () https://github.com/withastro/astro/releases/tag/%40astrojs%2Fnode%409.5.4 - Product, Release Notes
References () https://github.com/withastro/astro/security/advisories/GHSA-qq67-mvv5-fw3g - () https://github.com/withastro/astro/security/advisories/GHSA-qq67-mvv5-fw3g - Exploit, Third Party Advisory
CPE cpe:2.3:a:astro:\@astrojs\/node:*:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.6
First Time Astro \@astrojs\/node
Astro

24 Feb 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-24 01:16

Updated : 2026-02-25 15:19


NVD link : CVE-2026-25545

Mitre link : CVE-2026-25545

CVE.ORG link : CVE-2026-25545


JSON object : View

Products Affected

astro

  • \@astrojs\/node
CWE
CWE-918

Server-Side Request Forgery (SSRF)