{"id":"CVE-2026-73425","published":"2026-08-12T20:41:10Z","modified":"2026-08-13T12:56:00Z","title":"@astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters…","vendor":"withastro","product":"astro","tier":"tail","description":{"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 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00269,"percentile":0.11951,"provenance":"source"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-hp3v-mfqw-h74c","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":2.39},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":["< 8.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-13T12:55:52.891809Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@astrojs/netlify","vulnerableRanges":["<8.1.2"],"patched":["8.1.2"],"from":["GHSA-hp3v-mfqw-h74c"],"provenance":"source"}],"summary":{"text":"The @astrojs/netlify adapter for the Astro web framework generates Netlify Image CDN allowlist regular expressions from image.remotePatterns entries, and its remotePatternToRegex() function in packages/integrations/netlify/src/index.ts fails to escape regular expression metacharacters in literal pathname values. An unauthenticated remote attacker with network access can get Netlify's Image CDN to optimize images from an already-allowed host at paths the declared pathname was meant to exclude, though exploiting this requires a high-complexity condition and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:37Z"},"euvd":{"id":"EUVD-2026-57610","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-withastro-astro-cve-2026-54300","parents":[{"from":"CVE-2026-54300","to":"CVE-2026-73425","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-hp3v-mfqw-h74c","via":"reference","url":"https://github.com/advisories/GHSA-529g-xq4f-cw38"}]}],"children":[{"from":"CVE-2026-73425","to":"CVE-2026-102983","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@astrojs/netlify","fromFixed":"8.1.2","toFixed":"8.2.4","daysApart":49},{"kind":"same-code","provenance":"machine","files":["packages/integrations/netlify/src/index.ts"],"commits":["https://github.com/withastro/astro/commit/e362d4cf540b27730482455c8fc02efe57d16702","https://github.com/withastro/astro/commit/ee74c289bfe32fb6a7f59ed97c5c22db16394b72"],"basis":"shared function","functions":["remoteImagesFromAstroConfig","remotePatternToRegex"]}]}],"packageHistory":[{"cve":"CVE-2026-54300","published":"2026-06-22","fixed":"7.0.13","kev":false},{"cve":"CVE-2026-73425","published":"2026-08-12","fixed":"8.1.2","kev":false},{"cve":"CVE-2026-102983","published":"2026-09-30","fixed":"8.2.4","kev":false}],"package":"npm:@astrojs/netlify"}}