CVE-2026-102984 · GHSA-qh8j-hqjv-7m4x
Astro: Malformed port in the Host header can crash the Node adapter
- Risk score
- 65/100
- CVSS
- 8.2 v4.0
- Exploit chance (30 days)
- 0.4%
- Published
- 30 Sep 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 defaul…
- Affected
- @astrojs/node (npm) <= 11.1.2
- Fix
- Upgrade @astrojs/node to 11.1.3 or later.
- Exploitation
- No known exploitation
Why it is Amber
- CVSS 8.2 high
- Remotely exploitable without logging in
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| @astrojs/node | npm | <= 11.1.2 | 11.1.3 |
References
- https://github.com/advisories/GHSA-qh8j-hqjv-7m4x
- https://github.com/withastro/astro/security/advisories/GHSA-qh8j-hqjv-7m4x
- https://nvd.nist.gov/vuln/detail/CVE-2026-102984
- https://github.com/withastro/astro/pull/17572
- https://github.com/withastro/astro/commit/2066f39c60707a100531b4ef4bb5dab8feafa7f2
- https://github.com/withastro/astro/releases/tag/@astrojs/node@11.1.3
- https://github.com/advisories/GHSA-qh8j-hqjv-7m4x
Original 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.
Last activity 30 Sep 2026. Patch Forecast updates every hour.