Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54299: CWE-20: Improper Input Validation in withastro astro

0
High
VulnerabilityCVE-2026-54299cvecve-2026-54299cwe-20cwe-918
Published: 06/22/2026 (06/22/2026, 17:33:53 UTC)
Source: CVE Database V5
Vendor/Project: withastro
Product: astro

Description

Astro web framework versions prior to 6.4.6 have an improper input validation vulnerability in their server-side rendering (SSR) error page handling. When prerendered error pages are used, the framework fetches these pages at runtime using a URL derived from the incoming Host header without validating it against allowed domains. This allows an attacker to manipulate the Host header to cause the server to fetch arbitrary URLs and potentially read their responses. This vulnerability is fixed in version 6.4.6.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N

Affected software

Affected versions
<6.4.6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/22/2026, 19:24:07 UTC

Technical Analysis

CVE-2026-54299 describes an improper input validation vulnerability (CWE-20) in the Astro web framework prior to version 6.4.6. Specifically, SSR applications using prerendered error pages (/404 or /500) fetch these pages over HTTP at runtime when an error occurs. The fetch URL is derived from request.url, which uses the origin from the incoming Host header. Because the Host header is not validated against a whitelist of allowed domains, an attacker can supply a malicious Host header to redirect the fetch to an arbitrary host and read the response content. This can lead to server-side request forgery (SSRF) and information disclosure. The vulnerability is resolved in Astro version 6.4.6.

Potential Impact

An attacker can exploit this vulnerability by sending requests with a manipulated Host header, causing the server to fetch error pages from arbitrary hosts. This can lead to information disclosure by reading responses from unintended hosts. The CVSS score of 7.5 (high) reflects the network attack vector, high impact on confidentiality, limited integrity impact, and no availability impact. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

This vulnerability is fixed in Astro version 6.4.6. Users should upgrade to version 6.4.6 or later to remediate this issue. Since no official patch links or vendor advisory are provided, users should verify the upgrade from the official Astro project sources. Until upgraded, users should ensure that the Host header is validated against a whitelist of allowed domains to prevent exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-12T17:46:37.293Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a398861eed863c81e5021ce

Added to database: 06/22/2026, 19:09:21 UTC

Last enriched: 06/22/2026, 19:24:07 UTC

Last updated: 06/23/2026, 01:50:09 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses