Server-side Request Forgery (SSRF) Affecting astro package, versions <6.4.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ASTRO-17356189
  • published17 Jun 2026
  • disclosed16 Jun 2026
  • credit5ud0er - Tarmo Technologies, Matthew Phillips

Introduced: 16 Jun 2026

NewCVE-2026-54299  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade astro to version 6.4.6 or higher.

Overview

astro is an Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the prerenderedErrorPageFetch. An attacker can access sensitive information or interact with internal resources by sending a crafted request with a malicious Host header, which causes the server to fetch error pages from an attacker-controlled host and reflect the response back to the client.

Note: This is only exploitable if the deployment uses prerendered error pages and the internal createRequestFromNodeRequest builder with app.render() without overriding the default error page fetch behavior.

CVSS Base Scores

version 4.0
version 3.1