Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
CVE-2026-73425: Astro Netlify adapter generates overly broad image CDN allowlist
CVE-2026-73425 · published 2 months ago
Summary
The Astro Netlify adapter can allow unauthorized image access if you use certain image paths. This is fixed in version 8.1.2 of Astro. To stay secure, update to the latest version of Astro.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| withastro | astro | < 8.1.2 |
Original advisory text
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...
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.
References
- https://github.com/withastro/astro/security/advisories/GHSA-hp3v-mfqw-h74c x_refsource_CONFIRM
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-185Incorrect Regular Expression
Timeline
Published12 Aug 2026
Updated4 Nov 2026
First seen12 Aug 2026
Track software like this
Free during beta