---
id: CVE-2026-73425
title: Astro is a web framework for content-driven websites
summary: >-
  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'…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-185
published: '2026-08-12'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:02:22.660'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73425'
references:
  - url: 'https://github.com/withastro/astro/security/advisories/GHSA-hp3v-mfqw-h74c'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00269
epssPercentile: 0.17105
ingestedAt: '2026-09-09T21:22:45.532Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
