CVE-2026-25545
MEDIUM 6.9CVSS 4.0Astro has Full-Read SSRF in error rendering via Host: header injection
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.
- Published
- 24 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-qq67-mvv5-fw3g
- Sources
- NVDJSONOSV GHSA-qq67-mvv5-fw3gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | astro | @astrojs/nodecpe:2.3:a:astro:\@astrojs\/node:*:*:*:*:*:node.js:*:* |
< 9.5.4 | 9.5.4 |
| OSV | npm | @astrojs/node | < 9.5.4 | 9.5.4 |
References
- 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://github.com/withastro/astro/security/advisories/GHSA-qq67-mvv5-fw3g · Exploit, Third Party Advisory, 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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Feb 2026)