Security Flaw in Astro Adapter for Netlify by Astro
CVE-2026-54300
5.3MEDIUM
What is CVE-2026-54300?
The @astrojs/netlify adapter, which facilitates the deployment of Astro’s hybrid or server-rendered sites on Netlify, has been found to possess an input validation issue prior to version 7.0.13. This flaw occurs as the adapter converts Astro's image.remotePatterns into Netlify Image CDN images.remote_images, inadvertently applying broader semantics than intended. This can lead to unintended matches, such as a single wildcard hostname like .example.com being excessively permissive by allowing optional subdomain regex matches, and wildcard pathnames like /ok/ matching deeper paths due to the absence of end anchoring. The vulnerability was mitigated in version 7.0.13.
Affected Version(s)
astro < 7.0.13
