CVE-2026-126364 json
Astro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystems
published 5d ago modified yesterday also EUVD-2026-124748 , GHSA-r3h5-4585-7x3w
- cvss
- 6.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm astro 7.4.7
Is CVE-2026-126364 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2d ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-14).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @astrojs/node | <=11.1.11 |
no fix listed |
| npm | astro | >=5.14.3, <7.4.7 |
7.4.7 |
Affected products
- withastro astro
Classification
References
-
github.com
/withastro/astro/commit/7da442bb286e0c29e1c9e1add6727b7cbf434f1a
web
-
github.com
/withastro/astro/security/advisories/GHSA-r3h5-4585-7x3w
web, advisory
-
github.com
/withastro/astro/releases/tag/astro@7.4.7
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-126364
advisory
-
github.com
/withastro/astro
package
Sources
- CVE List CVE-2026-126364
- GitHub Advisory GHSA-r3h5-4585-7x3w
- NVD CVE-2026-126364
- Maintainer advisory GHSA-r3h5-4585-7x3w
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of withastro/astro published their own advisory on GitHub. Reviewed sources take precedence over it.