CVE-2026-33769 Astro: Remote allowlist bypass via unanchored matchPathname wildcard
LowCVSS 2.9
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| withastro astro | = >= 2.10.10, < 5.18.1 | No fix listed |
| npm astro(npm) | >= 2.10.10, < 5.18.1 | 5.18.1 |
| astro | >= 2.10.10, < 5.18.1 | 5.18.1 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-g735-7g2w-hh3f exploit vendor-advisory
- nvd.nist.gov third-party-advisory
- github.com