CVE-2026-73425
Astro is a web framework for content-driven websites. Prior to …
Astro is a web framework for content-driven websites. Prior to 8.1.2, the Astro Netlify adapter converts each image.remotePatterns entry into a regular expression written to .netlify/v1/config.json under images.remote_images for Netlify's Image CDN allowlist. In packages/integrations/netlify/src/index.ts, remotePatternToRegex() escapes dots in hostname values but interpolates literal pathname values without escaping regular expression metacharacters such as ., +, ?, (, and [, so a restrictive pathname such as /img/v1.0/file also matches metacharacter-adjacent paths, including paths that cross a segment. Netlify enforces the generated regular expression directly and Astro's matchPattern() helper does not revalidate the request, allowing optimization of images on an already-allowed host that the declared pathname was intended to exclude. This issue is fixed in version 8.1.2.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/withastro/astro/security/advisories/GHSA-hp3v-mfqw-h74c
- github.com/withastro/astro/pull/17018
- github.com/advisories/GHSA-529g-xq4f-cw38
- github.com/advisories/GHSA-hp3v-mfqw-h74c
- nvd.nist.gov/vuln/detail/CVE-2026-73425
- github.com/withastro/astro/pull/17368
- github.com/withastro/astro/commit/ee74c289bfe32fb6a7f59ed97c5c22db16394b72
- github.com/withastro/astro/releases/tag/@astrojs/[email protected]
- nvd.nist.gov/vuln/detail/CVE-2026-73425
- cve.org/CVERecord?id=CVE-2026-73425
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.