{"cve":"CVE-2026-27829","nvd":{"published":"2026-02-26T01:16:24.390","modified":"2026-06-17T10:27:45.213","status":"Analyzed","description":"Astro is a web framework. In versions 9.0.0 through 9.5.3, a bug in Astro's image pipeline allows bypassing `image.domains` / `image.remotePatterns` restrictions, enabling the server to fetch content from unauthorized remote hosts. Astro provides an `inferSize` option that fetches remote images at render time to determine their dimensions. Remote image fetches are intended to be restricted to domains the site developer has manually authorized (using the `image.domains` or `image.remotePatterns` options). However, when `inferSize` is used, no domain validation is performed — the image is fetched from any host regardless of the configured restrictions. An attacker who can influence the image URL (e.g., via CMS content or user-supplied data) can cause the server to fetch from arbitrary hosts. This allows bypassing `image.domains` / `image.remotePatterns` restrictions to make server-side requests to unauthorized hosts. This includes the risk of server-side request forgery (SSRF) against internal network services and cloud metadata endpoints. Version 9.5.4 fixes the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L","score":7.2},"cwes":["CWE-918"],"references":["https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9","https://github.com/withastro/astro/security/advisories/GHSA-cj9f-h6r6-4cx2"],"products":["astro:\\@astrojs\\/node"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27829","score":0.0032,"percentile":0.24985,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-cj9f-h6r6-4cx2","url":"https://osv.dev/vulnerability/GHSA-cj9f-h6r6-4cx2","summary":"Astro is vulnerable to SSRF due to missing allowlist enforcement in remote image inferSize","modified":"2026-02-28T05:13:56.361896Z","packages":[{"ecosystem":"npm","name":"@astrojs/node","purl":"pkg:npm/%40astrojs/node","ranges":[">=9.0.0 <9.5.4"],"fixed":["9.5.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}