CVE-2026-25545 Details
Description
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.
A server-side request forgery (SSRF) vulnerability has been identified in the Astro web framework, specifically in versions prior to 9.5.4. This issue arises in server-side rendered pages that use custom error pages, such as '404.astro' or '500.astro'. When an error occurs, the framework fetches the custom error page and follows redirects. If the 'Host' header is manipulated to point to an attacker's server, the framework will fetch a response from that server and can be redirected to internal URLs, potentially exposing sensitive information or services.
Users can update to Astro version 9.5.4 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9 | [email protected] | Patch |
| https://github.com/withastro/astro/releases/tag/%40astrojs%2Fnode%409.5.4 | [email protected] | ProductRelease Notes |
| https://github.com/withastro/astro/security/advisories/GHSA-qq67-mvv5-fw3g | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| astro @astrojs/node | < 9.5.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | Initial Analysis | [email protected] |
| Feb 24, 2026 | New CVE Received | [email protected] |