Live threats

All CVEs / Astro

CVE-2026-25545Astro @astrojs/node

Medium 6.9 No auth needed

Priority
56
CVSS 4.0
6.9
EPSS
—
Auth required
No
Published
Feb 24, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Astro is a web framework. Prior to version 9.5.4, Server-Side Rendered pages that return an error with a prerendered custom error page (eg. `404.astro` or `500.astro`) are vulnerable to SSRF. If the `Host:` header is changed to an attacker's server, it will be fetched on `/500.html` and they can redirect this to any internal URL to read the response body through the first request. An attacker who can access the application without `Host:` header validation (eg. through finding the origin IP behind a proxy, or just by default) can fetch their own server to redirect to any internal IP. With this they can fetch cloud metadata IPs and interact with services in the internal network or localhost. For this to be vulnerable, a common feature needs to be used, with direct access to the server (no proxies). Version 9.5.4 fixes the issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for @astrojs/node.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @astrojs/node < 9.5.4 9.5.4 npm install @astrojs/node@9.5.4

Per OSV / GitHub Advisories (GHSA-qq67-mvv5-fw3g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
astro@astrojs/node< 9.5.4

Official sources

References

Links published by the sources. Open them with care.