{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-73425","id":"CVE-2026-73425","title":"@astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escaped","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 valu","descriptionLong":"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":"2026-08-12T20:41:10.564Z","updated":"2026-10-28T02:30:47.069825623Z","reserved":"2026-08-12T14:32:11.796Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["withastro astro"],"affectedProducts":[{"vendor":"withastro","product":"astro","defaultStatus":null,"versions":[{"version":"< 8.1.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@astrojs/netlify","purl":"pkg:npm/%40astrojs/netlify","ranges":["<8.1.2"],"fixed":["8.1.2"],"advisory":"GHSA-hp3v-mfqw-h74c"}],"cwes":["CWE-185"],"aliases":["GHSA-hp3v-mfqw-h74c"],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-hp3v-mfqw-h74c","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73425.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73425","tags":["advisory"]},{"url":"https://github.com/withastro/astro/pull/17018","tags":["web"]},{"url":"https://github.com/withastro/astro/pull/17368","tags":["web"]},{"url":"https://github.com/withastro/astro/commit/ee74c289bfe32fb6a7f59ed97c5c22db16394b72","tags":["web"]},{"url":"https://github.com/advisories/GHSA-529g-xq4f-cw38","tags":["advisory"]},{"url":"https://github.com/withastro/astro","tags":["package"]},{"url":"https://github.com/withastro/astro/releases/tag/@astrojs/netlify@8.1.2","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00269,"epssPercentile":0.19503,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-73425","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73425","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-73425","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hp3v-mfqw-h74c","ok":true,"note":"GHSA-hp3v-mfqw-h74c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-73425","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}