Every CVE Search/ Get API key

CVE-2026-54299

Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)

7.5 HighFix available

Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response. This vulnerability is fixed in 6.4.6.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
Low
Availability
None

Exploit likelihood

0.33%Up 0.3 points since Jun 13, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.5

Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)

Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response. This vulnerability is fixed in 6.4.6.

Record
CVE-2026-54299
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Weakness
CWE-20, CWE-918
Updated
2026-11-02
EUVDEUVD-2026-38337 7.5

Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response. This vulnerability is fixed in 6.4.6.

Record
EUVD-2026-38337
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-2pvr-wf23-7pc7 7.5

Astro: Host header SSRF in prerendered error page fetch

Summary

Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response.

Who is affected

This affects SSR deployments that:

  1. Have a prerendered 404 or 500 page
  2. Use createRequestFromNodeRequest from astro/app/node with app.render() without overriding prerenderedErrorPageFetch — this includes custom servers built on the public API and third-party adapters

Not affected:

  • @astrojs/node >= 9.5.4 (reads error pages from disk)
  • @astrojs/cloudflare (uses the ASSETS binding)
  • The dev server (renders error pages in-process)

How it works

createRequestFromNodeRequest builds request.url from the raw Host / :authority header. The allowedDomains option is accepted but only gates X-Forwarded-For — it does not constrain the URL origin. (The public createRequest does fall back to localhost for unvalidated hosts; this internal builder did not.)

When app.render() encounters a 404 or 500 with a prerendered error route, default-handler.ts constructs the error page URL using the origin from request.url and fetches it via prerenderedErrorPageFetch, which defaults to global fetch. The response body is served to the client.

An attacker sends a request with Host: attacker-host:port, triggers an error (e.g., requesting a nonexistent path for a 404), and receives the response from the attacker-controlled host reflected back.

Remediation

The error page fetch origin is now validated against allowedDomains before use. When the host is validated, the original origin is preserved. Otherwise, it falls back to localhost. The fetch is also wrapped in a try/catch so that connection failures degrade gracefully to a plain error response.

Credit

5ud0 / Tarmo Technologies

Record
GHSA-2pvr-wf23-7pc7
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Weakness
CWE-20, CWE-918
Updated
2026-11-02
NVD 7.5

Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response. This vulnerability is fixed in 6.4.6.

Record
CVE-2026-54299
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-20, CWE-918
Updated
2026-11-02
OSV 7.5

Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)

Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response. This vulnerability is fixed in 6.4.6.

Record
CVE-2026-54299
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Weakness
CWE-20, CWE-918
Updated
2026-11-02
OSVGHSA-2pvr-wf23-7pc7 7.5

Astro: Host header SSRF in prerendered error page fetch

Summary

Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response.

Who is affected

This affects SSR deployments that:

  1. Have a prerendered 404 or 500 page
  2. Use createRequestFromNodeRequest from astro/app/node with app.render() without overriding prerenderedErrorPageFetch — this includes custom servers built on the public API and third-party adapters

Not affected:

  • @astrojs/node >= 9.5.4 (reads error pages from disk)
  • @astrojs/cloudflare (uses the ASSETS binding)
  • The dev server (renders error pages in-process)

How it works

createRequestFromNodeRequest builds request.url from the raw Host / :authority header. The allowedDomains option is accepted but only gates X-Forwarded-For — it does not constrain the URL origin. (The public createRequest does fall back to localhost for unvalidated hosts; this internal builder did not.)

When app.render() encounters a 404 or 500 with a prerendered error route, default-handler.ts constructs the error page URL using the origin from request.url and fetches it via prerenderedErrorPageFetch, which defaults to global fetch. The response body is served to the client.

An attacker sends a request with Host: attacker-host:port, triggers an error (e.g., requesting a nonexistent path for a 404), and receives the response from the attacker-controlled host reflected back.

Remediation

The error page fetch origin is now validated against allowedDomains before use. When the host is validated, the original origin is preserved. Otherwise, it falls back to localhost. The fetch is also wrapped in a try/catch so that connection failures degrade gracefully to a plain error response.

Credit

5ud0 / Tarmo Technologies

Record
GHSA-2pvr-wf23-7pc7
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Weakness
CWE-20, CWE-918
Updated
2026-11-02
Show 15 moreShow less
OSVCLSA-2026-1783991052 No score

TuxCare security update for astro (2 CVEs)

TuxCare rebuilt astro to address 2 CVEs. Fixed in 3.6.5-tuxcare.2.

Record
CLSA-2026-1783991052
Updated
2026-11-02
OSVCLSA-2026-1784596284 No score

TuxCare security update for 5 packages (3 CVEs)

TuxCare rebuilt 5 packages to address 3 CVEs. Fixed in 5.18.1-tuxcare.4.

Record
CLSA-2026-1784596284
Updated
2026-11-02
OSVCLSA-2026-1784856295 No score

TuxCare security update for astro (2 CVEs)

TuxCare rebuilt astro to address 2 CVEs. Fixed in 2.10.15-tuxcare.3.

Record
CLSA-2026-1784856295
Updated
2026-11-02
OSVCLSA-2026-1792161550 No score

TuxCare security update for @astrojs/internal-helpers (2 CVEs)

TuxCare rebuilt @astrojs/internal-helpers to address 2 CVEs. Fixed in 3.6.5-tuxcare.2.

Record
CLSA-2026-1792161550
Updated
2026-11-02
OSVCLSA-2026-1792161552 No score

TuxCare security update for @astrojs/internal-helpers (3 CVEs)

TuxCare rebuilt @astrojs/internal-helpers to address 3 CVEs. Fixed in 5.18.1-tuxcare.4.

Record
CLSA-2026-1792161552
Updated
2026-11-02
OSVCLSA-2026-1792161556 No score

TuxCare security update for @astrojs/internal-helpers (2 CVEs)

TuxCare rebuilt @astrojs/internal-helpers to address 2 CVEs. Fixed in 2.10.15-tuxcare.3.

Record
CLSA-2026-1792161556
Updated
2026-11-02
OSVCLSA-2026-1792161689 No score

TuxCare security update for @astrojs/prism (2 CVEs)

TuxCare rebuilt @astrojs/prism to address 2 CVEs. Fixed in 3.6.5-tuxcare.2.

Record
CLSA-2026-1792161689
Updated
2026-11-02
OSVCLSA-2026-1792161692 No score

TuxCare security update for @astrojs/prism (3 CVEs)

TuxCare rebuilt @astrojs/prism to address 3 CVEs. Fixed in 5.18.1-tuxcare.4.

Record
CLSA-2026-1792161692
Updated
2026-11-02
OSVCLSA-2026-1792161697 No score

TuxCare security update for @astrojs/prism (2 CVEs)

TuxCare rebuilt @astrojs/prism to address 2 CVEs. Fixed in 2.10.15-tuxcare.3.

Record
CLSA-2026-1792161697
Updated
2026-11-02
OSVCLSA-2026-1792161782 No score

TuxCare security update for @astrojs/underscore-redirects (2 CVEs)

TuxCare rebuilt @astrojs/underscore-redirects to address 2 CVEs. Fixed in 3.6.5-tuxcare.2.

Record
CLSA-2026-1792161782
Updated
2026-11-02
OSVCLSA-2026-1792161784 No score

TuxCare security update for @astrojs/underscore-redirects (3 CVEs)

TuxCare rebuilt @astrojs/underscore-redirects to address 3 CVEs. Fixed in 5.18.1-tuxcare.4.

Record
CLSA-2026-1792161784
Updated
2026-11-02
OSVCLSA-2026-1792161787 No score

TuxCare security update for @astrojs/underscore-redirects (2 CVEs)

TuxCare rebuilt @astrojs/underscore-redirects to address 2 CVEs. Fixed in 2.10.15-tuxcare.3.

Record
CLSA-2026-1792161787
Updated
2026-11-02
OSVCLSA-2026-1792161851 No score

TuxCare security update for @astrojs/upgrade (2 CVEs)

TuxCare rebuilt @astrojs/upgrade to address 2 CVEs. Fixed in 3.6.5-tuxcare.2.

Record
CLSA-2026-1792161851
Updated
2026-11-02
OSVCLSA-2026-1792161852 No score

TuxCare security update for @astrojs/upgrade (3 CVEs)

TuxCare rebuilt @astrojs/upgrade to address 3 CVEs. Fixed in 5.18.1-tuxcare.4.

Record
CLSA-2026-1792161852
Updated
2026-11-02
OSVCLSA-2026-1792454046 No score

TuxCare security update for astro (9 CVEs)

TuxCare rebuilt astro to address 9 CVEs. Fixed in 5.18.2-tuxcare.1.

Record
CLSA-2026-1792454046
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
astro
npm
before 6.4.6
6.4.6
astro
TuxCare:npm
From an advisory covering 2 CVEs
3.6.5-tuxcare.0 up to 3.6.5-tuxcare.2, plus listed versions
3.6.53.6.5-tuxcare.1
3.6.5-tuxcare.2
@astrojs/db
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
@astrojs/rss
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
@astrojs/telemetry
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
astro
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
create-astro
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
astro
TuxCare:npm
From an advisory covering 2 CVEs
2.10.15-tuxcare.0 up to 2.10.15-tuxcare.3, plus listed versions
2.10.152.10.15-tuxcare.12.10.15-tuxcare.2
2.10.15-tuxcare.3
@astrojs/internal-helpers
TuxCare:npm
From an advisory covering 2 CVEs
3.6.5-tuxcare.0 up to 3.6.5-tuxcare.2, plus listed versions
3.6.53.6.5-tuxcare.1
3.6.5-tuxcare.2
@astrojs/internal-helpers
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
Show 10 moreShow less
Affected packages
PackageAffectedFixed
@astrojs/internal-helpers
TuxCare:npm
From an advisory covering 2 CVEs
2.10.15-tuxcare.0 up to 2.10.15-tuxcare.3, plus listed versions
2.10.152.10.15-tuxcare.12.10.15-tuxcare.2
2.10.15-tuxcare.3
@astrojs/prism
TuxCare:npm
From an advisory covering 2 CVEs
3.6.5-tuxcare.0 up to 3.6.5-tuxcare.2, plus listed versions
3.6.53.6.5-tuxcare.1
3.6.5-tuxcare.2
@astrojs/prism
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
@astrojs/prism
TuxCare:npm
From an advisory covering 2 CVEs
2.10.15-tuxcare.0 up to 2.10.15-tuxcare.3, plus listed versions
2.10.152.10.15-tuxcare.12.10.15-tuxcare.2
2.10.15-tuxcare.3
@astrojs/underscore-redirects
TuxCare:npm
From an advisory covering 2 CVEs
3.6.5-tuxcare.0 up to 3.6.5-tuxcare.2, plus listed versions
3.6.53.6.5-tuxcare.1
3.6.5-tuxcare.2
@astrojs/underscore-redirects
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
@astrojs/underscore-redirects
TuxCare:npm
From an advisory covering 2 CVEs
2.10.15-tuxcare.0 up to 2.10.15-tuxcare.3, plus listed versions
2.10.152.10.15-tuxcare.12.10.15-tuxcare.2
2.10.15-tuxcare.3
@astrojs/upgrade
TuxCare:npm
From an advisory covering 2 CVEs
3.6.5-tuxcare.0 up to 3.6.5-tuxcare.2, plus listed versions
3.6.53.6.5-tuxcare.1
3.6.5-tuxcare.2
@astrojs/upgrade
TuxCare:npm
From an advisory covering 2 CVEs
5.18.1-tuxcare.0 up to 5.18.1-tuxcare.4, plus listed versions
5.18.15.18.1-tuxcare.25.18.1-tuxcare.3
5.18.1-tuxcare.4
astro
TuxCare:npm
From an advisory covering 9 CVEs
5.18.2-tuxcare.0 up to 5.18.2-tuxcare.1, plus listed versions
5.18.2
5.18.2-tuxcare.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-54299 is a high vulnerability (CVSS 7.5) in Astro, published June 16, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. Fixed in astro 6.4.6.

References

MoveEnter Open