{"schema":"threatline.record/2","record":{"id":"CVE-2026-102983","aliases":["GHSA-4233-jc72-56c5"],"summary":"Astro: Netlify Image CDN allowlist bypass enables SSRF","details":"## Summary\n\nThe `@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.\n\nFor example, an application allowing `images.example.com` could accept a source URL such as:\n\n```text\nhttp://127.0.0.1:6379/?url=https://images.example.com/image.png\n```\n\nThe allowlist matched the approved origin in the query string, but Netlify parsed and fetched the URL whose actual host was `127.0.0.1`.\n\n## Impact\n\nAn 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.\n\nThe Image CDN attempts to transform responses as images, which limits direct response exfiltration. No confidentiality or integrity impact has been demonstrated.\n\n## Affected versions\n\n`@astrojs/netlify` versions from 5.2.0 through 8.2.3.\n\n## Patches\n\nFixed in `@astrojs/netlify` 8.2.4. Generated remote-image allowlist expressions are now anchored to both the beginning and end of the source URL.\n\n## Workarounds\n\nUpgrade 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.\n\n## Credits\n\nReported by @pacocartones.","categories":["Libraries & packages"],"product":"@astrojs/netlify","vendor":"withastro","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-4233-jc72-56c5","source_modified_at":"2026-09-30T23:40:13Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@astrojs/netlify"},"range":">= 5.2.0, <= 8.2.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102983","source_modified_at":"2026-09-30T16:24:47.048Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"astro","vendor":"withastro","versions":[{"status":"affected","version":">= 5.2.0, < 8.2.4"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102983","source_modified_at":"2026-09-30T16:24:47.048Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"netlify","vendor":"@astrojs","versions":[{"status":"affected","version":">= 5.2.0, < 8.2.4"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4233-jc72-56c5","source_modified_at":"2026-09-30T23:45:04.012782965Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"@astrojs/netlify","ecosystem":"npm","purl":"pkg:npm/%40astrojs/netlify"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.2.0"},{"fixed":"8.2.4"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-4233-jc72-56c5","source_modified_at":"2026-09-30T23:40:13Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@astrojs/netlify"},"version":"8.2.4"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4233-jc72-56c5","source_modified_at":"2026-09-30T23:45:04.012782965Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"@astrojs/netlify","ecosystem":"npm","purl":"pkg:npm/%40astrojs/netlify"},"version":"8.2.4"}],"cvss":6.3,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.0031,"percentile":0.22702,"score_date":"2026-10-23"},"published_at":"2026-09-30T14:32:03.861Z","modified_at":"2026-09-30T23:45:04.012782965Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-4233-jc72-56c5","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-30T23:40:13Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102983","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-30T16:24:47.048Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-4233-jc72-56c5","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-09-30T23:45:04.012782965Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102983","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/withastro/astro/security/advisories/GHSA-4233-jc72-56c5","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102983","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/withastro/astro/pull/17752","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/withastro/astro/commit/e362d4cf540b27730482455c8fc02efe57d16702","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/withastro/astro/releases/tag/@astrojs/netlify@8.2.4","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-4233-jc72-56c5","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-09-30T16:22:22.386566Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-30T23:45:04.012782965Z","content_hash":"b5600a617235ea199c22da8a67dad23f50d2c374fb2f617653f06b8f3f5f924f"}}
