---
title: "GHSA-4233-jc72-56c5: Astro: Netlify Image CDN allowlist bypass enables SSRF"
description: "Moderate severity. Astro: Netlify Image CDN allowlist bypass enables SSRF. Affects @astrojs/netlify; fixed in 8.2.4."
url: https://inlinr.com/advisories/GHSA-4233-jc72-56c5
lang: en
---

[Packages](https://inlinr.com/packages) / [@astrojs/netlify](https://inlinr.com/packages/@astrojs/netlify) / [Security](https://inlinr.com/packages/@astrojs/netlify/security)

Moderate Vulnerability GHSA-4233-jc72-56c5 CVE-2026-102983 Published 30 Sep 2026

# Astro: Netlify Image CDN allowlist bypass enables SSRF

Your version 

Affected releases · [@astrojs/netlify](https://inlinr.com/packages/@astrojs/netlify)

- 8.x 8.0.0 – 8.2.3 Fixed in 8.2.4
- 7.x 7.0.0 – 7.0.13 No fix on this line yet
- 6.x 6.0.0 – 6.6.5 No fix on this line yet
- 5.x 5.2.0 – 5.5.4 No fix on this line yet

On 8.x, the newest line:

```
npm install @astrojs/netlify@8.2.4
```

Every release on a timeline

8.x 

1. Affected

8.0.0 – 8.2.3  
9 releases
2. Fixed

8.2.4 – 8.2.14  
11 releases, latest

7.x 

1. Affected

7.0.0 – 7.0.13  
14 releases

6.x 

1. Affected

6.0.0 – 6.6.5  
37 releases

5.x 

1. Not affected

5.0.0 – 5.1.3  
6 releases
2. Affected

5.2.0 – 5.5.4  
14 releases

151 stable releases of @astrojs/netlify, oldest to newest, one row per major.

## What happens

Summary

The [@astrojs/netlify](https://inlinr.com/packages/@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](https://inlinr.com/packages/@astrojs/netlify) versions from 5.2.0 through 8.2.3.

Patches

Fixed in [@astrojs/netlify](https://inlinr.com/packages/@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](https://inlinr.com/packages/@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](https://github.com/pacocartones).

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: none
- **Availability**: low

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

## References

- [Reference](https://github.com/withastro/astro/security/advisories/GHSA-4233-jc72-56c5 "https://github.com/withastro/astro/security/advisories/GHSA-4233-jc72-56c5")  
github.com/withastro/astro/security/advisories/…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-102983 "https://nvd.nist.gov/vuln/detail/CVE-2026-102983")  
nvd.nist.gov/vuln/detail/CVE-2026-102983
- [Pull request](https://github.com/withastro/astro/pull/17752 "https://github.com/withastro/astro/pull/17752")  
#17752
- [Fix commit](https://github.com/withastro/astro/commit/e362d4cf540b27730482455c8fc02efe57d16702 "https://github.com/withastro/astro/commit/e362d4cf540b27730482455c8fc02efe57d16702")  
e362d4c
- [Package](https://github.com/withastro/astro "https://github.com/withastro/astro")  
github.com/withastro/astro
- [Reference](https://github.com/withastro/astro/releases/tag/@astrojs/netlify@8.2.4 "https://github.com/withastro/astro/releases/tag/@astrojs/netlify@8.2.4")  
github.com/withastro/astro/releases/tag/@astroj…

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
