CVE-2026-54299
HIGH 7.5CVSS 3.1Astro: Host header SSRF in prerendered error page fetch
Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response. This vulnerability is fixed in 6.4.6.
- Published
- 22 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-918
- Also known as
- GHSA-2pvr-wf23-7pc7
- Sources
- NVDJSONOSV GHSA-2pvr-wf23-7pc7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | astro | astrocpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* |
< 6.4.6 | 6.4.6 |
| OSV | npm | astro | < 6.4.6 | 6.4.6 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-2pvr-wf23-7pc7 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-54299 · ADVISORY
- https://github.com/withastro/astro · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Jun 2026)