Description
Astro is a web framework for content-driven websites. Prior to 11.1.3, the @astrojs/node adapter builds a request URL from the Host header, and a malformed port can make that URL invalid. The recovery path reuses the same malformed host and throws an uncaught TypeError: Invalid URL before routing begins. In the default standalone configuration, the request returns an HTTP 500 response and the server continues running, but when staticHeaders is enabled the synchronous handler does not catch the exception and the Node process terminates. Proxies and CDNs that reject malformed Host headers prevent this path from reaching the origin. The issue affects availability only and does not expose data or permit code execution. This issue is fixed in version 11.1.3.
Published: 2026-09-30
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

Astro builds an internal request URL from the value of the Host header. A malformed port within that header can cause the URL construction to fail, raising an uncaught TypeError that propagates before routing begins. When the adapter runs in its default standalone mode the server responds with an HTTP 500 error but remains operational; however, when the staticHeaders feature is active the synchronous handler does not catch the exception, resulting in the entire Node process terminating. The flaw does not leak confidential data or allow execution of arbitrary code, but it can be used to cripple web services—an availability attack consistent with the CWE‑248 weakness of unexpected or invalid input handling.

Affected Systems

The vulnerability afflicts the Astro web framework, specifically the @astrojs/node adapter distributed under the withastro:astro vendor. Affected are all releases prior to version 11.1.3. Users running these versions with staticHeaders enabled are at risk of process termination, while users without that feature only experience transient 500 responses.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity impact. EPSS data is not available, and the issue is not listed in the CISA KEV catalog, suggesting no publicly known widespread exploitation yet. Attackers can trigger the crash by sending an HTTP request whose Host header contains an invalid port number, a technique that may be filtered by some proxies or CDNs if they enforce strict header validation. Still, any path that reaches an unpatched Astro instance can cause a denial of service by terminating the Node process. The zero‑knowledge requirement for code execution means the risk is confined to availability, but the impact on production services can be significant.

Generated by OpenCVE AI on September 30, 2026 at 16:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Astro framework and @astrojs/node adapter to version 11.1.3 or later.
  • If upgrading immediately is impossible, disable the staticHeaders configuration until a patch is applied to prevent a hard crash on malformed requests.
  • Configure upstream proxies or CDNs to reject requests with Host headers that contain malformed ports, thereby blocking the exploit before it reaches the application.
  • Verify that the application does not validate or process the Host header in a way that could reintroduce the flaw after patching.

Generated by OpenCVE AI on September 30, 2026 at 16:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-qh8j-hqjv-7m4x Astro: Malformed port in the Host header can crash the Node adapter
History

Wed, 30 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 30 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Withastro
Withastro astro
Vendors & Products Withastro
Withastro astro

Wed, 30 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
Description Astro is a web framework for content-driven websites. Prior to 11.1.3, the @astrojs/node adapter builds a request URL from the Host header, and a malformed port can make that URL invalid. The recovery path reuses the same malformed host and throws an uncaught TypeError: Invalid URL before routing begins. In the default standalone configuration, the request returns an HTTP 500 response and the server continues running, but when staticHeaders is enabled the synchronous handler does not catch the exception and the Node process terminates. Proxies and CDNs that reject malformed Host headers prevent this path from reaching the origin. The issue affects availability only and does not expose data or permit code execution. This issue is fixed in version 11.1.3.
Title Astro: Malformed port in the Host header can crash the Node adapter
Weaknesses CWE-248
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-30T19:39:28.485Z

Reserved: 2026-09-29T20:46:08.334Z

Link: CVE-2026-102984

cve-icon Vulnrichment

Updated: 2026-09-30T19:39:19.754Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-30T15:22:23.490

Modified: 2026-09-30T20:17:25.817

Link: CVE-2026-102984

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T19:00:11Z

Weaknesses