# CVE-2026-73425: @astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escaped

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-07-20T23:24:34.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-hp3v-mfqw-h74c
- Weaknesses: CWE-185
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- withastro astro: < 8.1.2
- @astrojs/netlify (npm): before 8.1.2

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

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

## Sources

- CVE List: [CVE-2026-73425](https://www.cve.org/CVERecord?id=CVE-2026-73425), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-hp3v-mfqw-h74c](https://github.com/advisories/GHSA-hp3v-mfqw-h74c), CC-BY-4.0, modified 2026-08-13
- NVD: [CVE-2026-73425](https://nvd.nist.gov/vuln/detail/CVE-2026-73425), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73425 · Whole record: https://cve.day/CVE-2026-73425.json · Rebuilt by cve.day 2026-11-25T22:59:32.660Z
