CVE-2026-126364
Description
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.
How to fix
- astro7.4.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| withastro astro | >= 5.14.3, < 7.4.7 | — |
| @astrojs/nodenpm | v ≤ 11.1.11 | — |
| astronpm | 5.14.3 ≤ v ≤ 7.4.6 | 7.4.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.