Skip to content
OpenAdvisories
High · 7.5 CVE-2026-54299 EUVD-2026-38337GHSA-2pvr-wf23-7pc7

Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)

Published Jun 22, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
withastro astro < 6.4.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm astro < 6.4.6 6.4.6 GHSA-2pvr-wf23-7pc7

References