{"id":"CVE-2026-73425","revision":"d00cd79561cc428392fc9d5835f5fdc1","records":[{"revision":"d00cd79561cc428392fc9d5835f5fdc1","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-73425","aliases":[],"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 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.","state":0,"publishedAt":"2026-08-12T20:41:10.564+00:00","modifiedAt":"2026-08-13T12:56:00.248+00:00","affected":[{"ecosystem":"Vendor product","name":"astro","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"withastro\",\n                    \"product\": \"astro\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 8.1.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"severity":"LOW"}],"references":["https://github.com/withastro/astro/security/advisories/GHSA-hp3v-mfqw-h74c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-73425","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-73425","identifiers":["CVE-2026-73425"]},"retained":false,"historicalAffected":[]}],"coverage":[]}