@astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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'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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| withastro | astro | before 8.1.2 | 8.1.2 | Patch available | CNA |
| — | @astrojs/netlify (npm) | before 8.1.2 | 8.1.2 | Patch available | GHSA-hp3v-mfqw-h74c |
- astro Vendorwithastro Affected before 8.1.2 Fixed in 8.1.2 Patch available CNA
- @astrojs/netlify (npm) Vendor— Affected before 8.1.2 Fixed in 8.1.2 Patch available GHSA-hp3v-mfqw-h74c
Remediation
- Fix · CNA astro (withastro) Fixed in 8.1.2
- Fix · GHSA-hp3v-mfqw-h74c @astrojs/netlify (npm) Fixed in 8.1.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-73425
- 2026-10-03 Alias added: GHSA-hp3v-mfqw-h74c
References
Advisory 2
Other 6
- https://github.com/withastro/astro/security/advisories/GHSA-hp3v-mfqw-h74c
- https://github.com/withastro/astro/pull/17018
- https://github.com/withastro/astro/pull/17368
- https://github.com/withastro/astro/commit/ee74c289bfe32fb6a7f59ed97c5c22db16394b72
- https://github.com/withastro/astro
- https://github.com/withastro/astro/releases/tag/@astrojs/[email protected]
More withastro vulnerabilities
- TI-2026-26147 Astro: Unauthenticated Path Override via `x-astro-path` / `x_astro_path` CVSS 3.1CRITICAL 9.1
- TI-2026-42600 Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch CVSS 3.1HIGH 8.2
- TI-2024-37142 Server source code is exposed to the public if sourcemaps are enabled CVSS 4.0HIGH 7.8
- TI-2025-35987 Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint CVSS 3.1HIGH 7.2
- TI-2025-34958 Unauthorized third-party images in Astro’s _image endpoint CVSS 4.0MEDIUM 6.9
- TI-2026-51542 Astro: Unauthenticated path override in the @astrojs/vercel ISR function CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-73425 · CVE Program
- CVE-2026-73425 · NVD
- FIRST EPSS
- GHSA-hp3v-mfqw-h74c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences