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.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-178: Improper Handling of Case Sensitivity
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-12Published by the CNA22:33 UTC
- 2026-11-13GitHub advisory published (GHSA-r3h5-4585-7x3w)1 day after publication
- 2026-11-13Published in NVD00:20 UTC · 1 hour 46 minutes after the CNA
- 2026-11-13CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-r3h5-4585-7x3w, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @astrojs/node | through 11.1.11 | |
| npm astro | from 5.14.3 before 7.4.7 | 7.4.7 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| withastro astro |
References
- https://github.com/withastro/astro/commit/7da442bb286e0c29e1c9e1add6727b7cbf434f1a
- https://github.com/withastro/astro/releases/tag/astro@7.4.7
- https://github.com/withastro/astro/security/advisories/GHSA-r3h5-4585-7x3w
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-126364'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-126364'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-126364'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-126364'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).