Improper input validation in withastro astro
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- 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 6.4.6 | 6.4.6 | Patch available | CNA |
| — | astro (npm) | before 6.4.6 | 6.4.6 | Patch available | GHSA-2pvr-wf23-7pc7 |
- astro Vendorwithastro Affected before 6.4.6 Fixed in 6.4.6 Patch available CNA
- astro (npm) Vendor— Affected before 6.4.6 Fixed in 6.4.6 Patch available GHSA-2pvr-wf23-7pc7
Remediation
- Fix · CNA astro (withastro) Fixed in 6.4.6
- Fix · GHSA-2pvr-wf23-7pc7 astro (npm) Fixed in 6.4.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54299
- 2026-10-03 Alias added: GHSA-2pvr-wf23-7pc7
References
More withastro Astro vulnerabilities
- TI-2024-37142 Server source code is exposed to the public if sourcemaps are enabled CVSS 4.0HIGH 7.8
- TI-2025-34958 Unauthorized third-party images in Astro’s _image endpoint CVSS 4.0MEDIUM 6.9
- TI-2025-39915 Server-side request forgery in withastro astro CVSS 3.1MEDIUM 6.5
- TI-2025-38274 Astro's `X-Forwarded-Host` is reflected with no validation CVSS 3.1MEDIUM 6.5
- TI-2026-36915 Astro: Reflected XSS via unescaped slot name CVSS 3.1HIGH 7.1
- TI-2025-40102 Astro is vulnerable to Reflected XSS via the server islands feature CVSS 3.1HIGH 7.1
Sources
- CVE-2026-54299 · CVE Program
- CVE-2026-54299 · NVD
- FIRST EPSS
- GHSA-2pvr-wf23-7pc7 · 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