Description
Astro is a web framework for content-driven websites. From 5.2.0 until 8.2.4, the @astrojs/netlify adapter generates regular expressions for Netlify Image CDN remote-image allowlists without anchoring them to the beginning of the URL. Because Netlify evaluates these expressions with RegExp.test(), an allowed origin appearing only in a source URL's path or query can satisfy image.domains or image.remotePatterns while the URL's actual host remains attacker-controlled. An unauthenticated request to the public /.netlify/images endpoint can therefore cause the Image CDN to request attacker-selected URLs and may probe or reach internal services. Netlify egress protections may constrain reachable targets, and image transformation limits direct response exfiltration; no confidentiality or integrity impact has been demonstrated. This issue is fixed in version 8.2.4.
Published: 2026-09-30
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SSRF
Action: Patch
AI Analysis

Impact

The adapter in Astro’s @astrojs/netlify package generates regular expressions for Netlify’s Image CDN allowlist that are not anchored at the start of the URL. This flaw allows a host that is only present in a path or query parameter to satisfy the allowlist while the actual host remains attacker‑controlled, enabling the Image CDN to fetch malicious URLs. An unauthenticated request to the public /.netlify/images endpoint can trigger the CDN to reach attacker‑selected destinations, potentially probing internal networks. Although no evidence of data exfiltration or modification exists, the vulnerability represents a server‑side request forgery (SSRF) that could expose internal resources. The weakness is classified as CWE‑625 and CWE‑918.

Affected Systems

Users deploying Astro web sites with the @astrojs/netlify adapter between versions 5.2.0 and 8.2.4 are affected. The issue is fixed in release 8.2.4 and later.

Risk and Exploitability

The vulnerability scores a CVSS of 6.3, indicating moderate severity, and it is not listed on the CISA KEV catalog. Exploitation requires only an unauthenticated HTTP request to the public endpoint, making it easy to trigger. The attacker can choose arbitrary external URLs, potentially reaching internal services. Because the adapter is publicly exposed, the risk is readily exploitable without special privileges or credentials.

Generated by OpenCVE AI on September 30, 2026 at 16:18 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the @astrojs/netlify adapter to version 8.2.4 or later to eliminate the unanchored allowlist.
  • If an immediate upgrade is not possible, restrict access to the /.netlify/images endpoint using Netlify’s redirects or access control to prevent unauthenticated requests.
  • Monitor server logs for unusual Image CDN requests or patterns that indicate SSRF activity.

Generated by OpenCVE AI on September 30, 2026 at 16:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4233-jc72-56c5 Astro: Netlify Image CDN allowlist bypass enables SSRF
History

Wed, 30 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Withastro
Withastro astro
Withastro netlify
Vendors & Products Withastro
Withastro astro
Withastro netlify

Wed, 30 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
Description Astro is a web framework for content-driven websites. From 5.2.0 until 8.2.4, the @astrojs/netlify adapter generates regular expressions for Netlify Image CDN remote-image allowlists without anchoring them to the beginning of the URL. Because Netlify evaluates these expressions with RegExp.test(), an allowed origin appearing only in a source URL's path or query can satisfy image.domains or image.remotePatterns while the URL's actual host remains attacker-controlled. An unauthenticated request to the public /.netlify/images endpoint can therefore cause the Image CDN to request attacker-selected URLs and may probe or reach internal services. Netlify egress protections may constrain reachable targets, and image transformation limits direct response exfiltration; no confidentiality or integrity impact has been demonstrated. This issue is fixed in version 8.2.4.
Title Astro: Netlify Image CDN allowlist bypass enables SSRF
Weaknesses CWE-625
CWE-918
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-30T16:24:47.048Z

Reserved: 2026-09-29T20:46:08.333Z

Link: CVE-2026-102983

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-30T15:22:22.800

Modified: 2026-09-30T19:38:27.293

Link: CVE-2026-102983

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T20:33:13Z

Weaknesses
  • CWE-625

    Permissive Regular Expression

  • CWE-918

    Server-Side Request Forgery (SSRF)