CVE 2.9 LOW

Astro: Remote allowlist bypass via unanchored matchPathname wildcard_CVE-2026-33769

2.9 / 10
LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

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.

Basic Information

ID CVE-2026-33769
Source GitHub_M
Published Mar 24, 2026 at 18:44
Modified Mar 24, 2026 at 20:13

Affected Product

Vendor withastro
Product astro
Version >= 2.10.10, < 5.18.1
Affected Versions withastro astro >= 2.10.10, < 5.18.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.