# CVE-2026-25545: Astro has Full-Read SSRF in error rendering via Host: header injection

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.91%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-23T21:54:32.000Z
- Modified: 2026-06-17T10:24:49.877Z
- Also known as: GHSA-qq67-mvv5-fw3g
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- withastro astro: < 9.5.4
- @astrojs/node (npm): before 9.5.4
- astro @astrojs/node: before 9.5.4

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N`
- GitHub: CVSS:3.1 8.6 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N`
- NVD: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/withastro/astro/security/advisories/GHSA-qq67-mvv5-fw3g> (exploit, third-party-advisory, web)
- <https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9> (patch, web)
- <https://github.com/withastro/astro/releases/tag/%40astrojs%2Fnode%409.5.4> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25545> (advisory)
- <https://docs.astro.build/en/basics/astro-pages/#custom-500-error-page> (web)
- <https://github.com/withastro/astro> (package)

## Sources

- CVE List: [CVE-2026-25545](https://www.cve.org/CVERecord?id=CVE-2026-25545), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-qq67-mvv5-fw3g](https://github.com/advisories/GHSA-qq67-mvv5-fw3g), CC-BY-4.0, modified 2026-03-30
- NVD: [CVE-2026-25545](https://nvd.nist.gov/vuln/detail/CVE-2026-25545), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25545 · Whole record: https://cve.day/CVE-2026-25545.json · Rebuilt by cve.day 2026-11-25T22:59:14.674Z
