CVE-2026-126364
Astro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystems
Also known as GHSA-r3h5-4585-7x3w
Mitigation
- Upgrade astro to 7.4.7 or later.
Who should check
- Projects that depend on npm package @astrojs/node (<= 11.1.11)
- Projects that depend on npm package astro (>= 5.14.3, <= 7.4.6)
- Anyone running withastro astro >= 5.14.3, < 7.4.7
Vulnerability facts
- Affected
- @astrojs/node <= 11.1.11; astro >= 5.14.3, <= 7.4.6
- Fixed in
- 7.4.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.43% chance of exploitation in 30 days (percentile 29, 2026-11-28)
- CWE
- CWE-22, CWE-178
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @astrojs/node | <= 11.1.11 | — | ghsa |
| npm astro | >= 5.14.3, <= 7.4.6 | 7.4.7 | ghsa |
| withastro astro | >= 5.14.3, < 7.4.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-126364. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-126364.md Affected: @astrojs/node <= 11.1.11; astro >= 5.14.3, <= 7.4.6 Fixed in: 7.4.7 Steps: 1. Search this machine and project for @astrojs/node (npm), astro (npm), withastro astro: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-126364 being exploited?
There is no confirmed exploitation: CVE-2026-126364 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-126364?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-126364?
@astrojs/node <= 11.1.11; astro >= 5.14.3, <= 7.4.6.
Is there a fix for CVE-2026-126364?
Yes. Fixed in 7.4.7. Upgrade astro to 7.4.7 or later.
How do I check if I'm affected by CVE-2026-126364?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.