CVE-2026-33769
Received Received - Intake
Unanchored Path Matching in Astro Allows Unauthorized Remote Fetches

Publication date: 2026-03-24

Last updated on: 2026-03-26

Assigner: GitHub, Inc.

Description
Astro is a web framework. From version 2.10.10 to before version 5.18.1, this issue concerns Astro's remotePatterns path enforcement for remote URLs used by server-side fetchers such as the image optimization endpoint. The path matching logic for /* wildcards is unanchored, so a pathname that contains the allowed prefix later in the path can still match. As a result, an attacker can fetch paths outside the intended allowlisted prefix on an otherwise allowed host. This issue has been patched in version 5.18.1.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-24
Last Modified
2026-03-26
Generated
2026-06-16
AI Q&A
2026-03-24
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
astro astro From 2.10.10 (inc) to 5.18.1 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability affects the Astro web framework versions from 2.10.10 up to but not including 5.18.1. It involves the remotePatterns path enforcement used by server-side fetchers, such as the image optimization endpoint. The issue is that the path matching logic for wildcards (specifically /*) is unanchored, meaning that a pathname containing the allowed prefix later in the path can still match. Consequently, an attacker can exploit this to fetch paths outside the intended allowlisted prefix on an otherwise allowed host.

This flaw has been fixed in version 5.18.1 of Astro.

Impact Analysis

An attacker exploiting this vulnerability can fetch resources outside the intended allowlisted paths on a permitted host. This could lead to unauthorized access to sensitive or restricted data that should not be accessible through the server-side fetchers.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, you should upgrade Astro to version 5.18.1 or later, where the issue has been patched.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-33769. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart