Astro has Full-Read SSRF in error rendering via Host: header injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| withastro | astro | before 9.5.4 | 9.5.4 | Patch available | CNA |
| — | @astrojs/node (npm) | before 9.5.4 | 9.5.4 | Patch available | GHSA-qq67-mvv5-fw3g |
- astro Vendorwithastro Affected before 9.5.4 Fixed in 9.5.4 Patch available CNA
- @astrojs/node (npm) Vendor— Affected before 9.5.4 Fixed in 9.5.4 Patch available GHSA-qq67-mvv5-fw3g
Remediation
- Fix · CNA astro (withastro) Fixed in 9.5.4
- Fix · GHSA-qq67-mvv5-fw3g @astrojs/node (npm) Fixed in 9.5.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25545
- 2026-10-03 Alias added: GHSA-qq67-mvv5-fw3g
References
More withastro @astrojs/node vulnerabilities
- TI-2026-23358 Astro: Memory exhaustion DoS due to missing request body size limit in Server Islands CVSS 3.1HIGH 7.5
- TI-2026-22091 Astro has memory exhaustion DoS due to missing request body size limit in Server Actions CVSS 3.1HIGH 7.5
- TI-2026-22180 Astro is vulnerable to SSRF due to missing allowlist enforcement in remote image inferSize CVSS 3.1HIGH 7.2
Sources
- CVE-2026-25545 · CVE Program
- CVE-2026-25545 · NVD
- FIRST EPSS
- GHSA-qq67-mvv5-fw3g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences