All vulnerabilities
CVE-2026-102983GHSA-4233-jc72-56c5

@astrojs/netlify: Astro: Netlify Image CDN allowlist bypass enables SSRF

withastro @astrojs/netlifynpmLibraries & packages
CVSS
6.3Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.31%Chance of exploitation activity in the next 30 days, higher than 22% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in8.2.4Fixed versionGitHub
Published30 Sep 2026Updated 30 Sep 2026CVE List

What fixes it

  • 8.2.4@astrojs/netlify, npmGitHubnpm install @astrojs/netlify@8.2.4

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Summary

The @astrojs/netlify adapter generated regular expressions for Netlify Image CDN remote-image allowlists without anchoring them to the beginning of the URL. Netlify evaluates these expressions with RegExp.test(), so an allowed image origin appearing anywhere in a URL, including its path or query string, could satisfy the allowlist.

For example, an application allowing images.example.com could accept a source URL such as:

http://127.0.0.1:6379/?url=https://images.example.com/image.png

The allowlist matched the approved origin in the query string, but Netlify parsed and fetched the URL whose actual host was 127.0.0.1.

Impact

An unauthenticated attacker can bypass the configured image.domains or image.remotePatterns allowlist through the public /.netlify/images endpoint and cause Netlify Image CDN to make requests to attacker-selected URLs. This may allow probing or reaching internal services, depending on Netlify's network-level egress protections.

The Image CDN attempts to transform responses as images, which limits direct response exfiltration. No confidentiality or integrity impact has been demonstrated.

Affected versions

@astrojs/netlify versions from 5.2.0 through 8.2.3.

Patches

Fixed in @astrojs/netlify 8.2.4. Generated remote-image allowlist expressions are now anchored to both the beginning and end of the source URL.

Workarounds

Upgrade to @astrojs/netlify 8.2.4 or later. Before upgrading, disable Netlify Image CDN by setting imageCDN: false in the adapter configuration, or remove remote image allowlist entries.

Credits

Reported by @pacocartones.

Text from GitHub Advisory Database

Affected versions 4

  • @astrojs/netlify, npm>= 5.2.0, <= 8.2.3GitHub
  • astroaffected: >= 5.2.0, < 8.2.4CVE List
  • netlifyaffected: >= 5.2.0, < 8.2.4CVE List
  • @astrojs/netlify, npmfrom 5.2.0, fixed in 8.2.4OSV

References 6