Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @astrojs/node
  4. ›
  5. CVE-2026-27829

CVE-2026-27829: Astro is vulnerable to SSRF due to missing allowlist enforcement in remote image inferSize

February 25, 2026

A bug in Astro’s image pipeline allows bypassing image.domains / image.remotePatterns restrictions, enabling the server to fetch content from unauthorized remote hosts.

References

  • github.com/advisories/GHSA-cj9f-h6r6-4cx2
  • github.com/withastro/astro
  • github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9
  • github.com/withastro/astro/security/advisories/GHSA-cj9f-h6r6-4cx2
  • nvd.nist.gov/vuln/detail/CVE-2026-27829

Code Behaviors & Features

Detect and mitigate CVE-2026-27829 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 9.0.0 before 9.5.4

Fixed versions

  • 9.5.4

Solution

Upgrade to version 9.5.4 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/@astrojs/node/CVE-2026-27829.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 26 Feb 2026 12:18:40 +0000.