CVE-2026-126364

GHSA-r3h5-4585-7x3w · published 12 Nov 2026 · updated 17 Nov 2026

Astro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystems

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in astro 7.4.7.

Astro is a web framework for content-driven websites. From 5.14.3 until 7.4.7, Astro's /_image endpoint compared the requested local-image path with the build output directory without preserving case on case-sensitive filesystems. A sibling directory whose path differed from the output directory only by letter case could therefore pass the containment check, allowing an unauthenticated requester to read image files accepted by the image service from outside the output directory. Exploitation required on-demand rendering with the @astrojs/node adapter, a case-sensitive filesystem, and a preexisting case-variant sibling directory; ordinary traversal to unrelated paths was already rejected. This issue is fixed in Astro version 7.4.7.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
withastro>=5.14.3 <7.4.7
npm: @astrojs/node<=11.1.11
npm: astro>=5.14.3 <7.4.7, >=5.14.3 <=7.4.67.4.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in astro (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126364 severity on Zeptric[![CVE-2026-126364](https://zeptric.io/badge/cve/CVE-2026-126364.svg)](https://zeptric.io/cve/CVE-2026-126364)