CVE-2026-73425
LOW 3.7CVSS 3.1@astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escaped
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.
- Published
- 12 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-185
- Also known as
- GHSA-hp3v-mfqw-h74c
- Sources
- NVDJSONOSV GHSA-hp3v-mfqw-h74cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @astrojs/netlify | < 8.1.2 | 8.1.2 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-hp3v-mfqw-h74c · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-73425 · ADVISORY
- https://github.com/withastro/astro/pull/17018 · WEB
- https://github.com/withastro/astro/pull/17368 · WEB
- https://github.com/withastro/astro/commit/ee74c289bfe32fb6a7f59ed97c5c22db16394b72 · WEB
- https://github.com/advisories/GHSA-529g-xq4f-cw38 · ADVISORY
- https://github.com/withastro/astro · PACKAGE
- https://github.com/withastro/astro/releases/tag/@astrojs/netlify@8.1.2 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 12 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2026)