Findings

CVE-2026-25545

Astro is a web framework.

Published Feb 24, 2026 · updated Jun 17, 2026 · astro @astrojs/node

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. or ) are vulnerable to SSRF. If the header is changed to an attacker's server, it will be fetched on 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 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.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 24, 2026 · NIST NVD

    Detected

    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. or ) are vulnerable to SSRF. If the header is changed to an attacker's server, it will be fetched on 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 header v

  2. Jun 17, 2026 · NIST NVD

    Updated

    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. or ) are vulnerable to SSRF. If the header is changed to an attacker's server, it will be fetched on 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 header v

Affected

  • cpe astro/@astrojs/nodeversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-25545

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-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. or ) are vulnerable to SSRF. If the header is changed to an attacker's server, it will be fetched on `/500.ht

    nvd.nist.gov

References