Skip to main content
VulnerabilityPublished

CVE-2026-27829: withastro astro · Server-Side Request Forgery (SSRF)

Affects withastro astroSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 9.5.4 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.5.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade withastro astro to 9.5.4.

Affected software

ProductAffectedFixed in
withastroastroAffected
  • >=9.0.0 <9.5.4
Fixed in
  • 9.5.4

AI-suggested

Upgrade all Astro framework instances to version 9.5.4 or later, where the SSRF vulnerability is fixed by enforcing domain validation during `inferSize` image fetches. Until upgrading, as a temporary mitigation, disable the `inferSize` option if it is not essential, preventing automatic remote image fetching. Additionally, implement strict input validation and sanitization on any user-controllable image URLs to prevent injection of arbitrary hosts. Employ network-level controls such as egress filtering and firewall rules to restrict server outbound HTTP requests to only trusted domains and IP ranges. Monitor application logs for unusual outbound requests to internal or unexpected external hosts. Conduct security reviews of CMS or user input mechanisms that influence image URLs to reduce attack surface. Finally, maintain up-to-date threat intelligence and patch management processes to respond promptly to similar vulnerabilities.

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.

References

Community reviews

Loading reviews…