Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted /_image request with case-variant href
-
ExploitPass case-insensitive containment check on sibling dir
-
ExecutionImage service reads file from outside output directory
-
ImpactReceive raster/SVG file contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires ALL of: (1) the site uses on-demand (SSR) rendering with the @astrojs/node adapter; (2) the server runs on a case-sensitive filesystem such as Linux; and (3) a directory already exists whose path differs from the build output directory (e.g. dist/client) only by letter case (e.g. DIST/client) - a layout the advisory calls unusual and which the attacker cannot create. Only files the image service accepts are readable: raster images are returned resized and SVGs unchanged; other file types fail during processing. Plain traversal to unrelated paths (e.g. /../../secret.png) was already rejected. These stacked, non-default, operator-dependent preconditions sharply limit real-world exploitability despite the unauthenticated network vector. |
| Impact | Signals are consistent and point to a genuine but low-urgency issue rather than a top-priority emergency. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:L) scores 6.3 (Medium): network-reachable and unauthenticated (PR:N), but with high attack complexity (AC:H) and a present attack requirement (AT:P) reflecting the stacked preconditions, and only low confidentiality impact (VC:L) with no integrity or availability effect. No EPSS score was supplied; there is no CISA KEV listing and no public exploit identified at time of analysis - the only exploit-related reference is the vendor fix commit, not PoC code. The vuln.today decision label is this_month, not act_now or emergency, which aligns with the medium severity and absence of active-exploitation evidence. The limiting factor dominates real-world risk: exploitation needs a preexisting sibling directory differing only by letter case, which the advisory states is unusual and the attacker cannot create. Net: a real, confirmed-and-patched path-containment flaw worth scheduling into normal patch cycles, not a drop-everything priority. |
| Exploit ScenarioDerived | On a Linux (case-sensitive) server running an Astro site with on-demand rendering via @astrojs/node, where a directory such as DIST/client happens to sit beside the real dist/client output directory, an unauthenticated attacker sends a request like /_image?href=/../../DIST/client/secret.png&w=32&f=png. The case-insensitive containment check treats the case-variant sibling as inside the output directory, so the image endpoint reads and returns the file. No public exploit code was identified; only image-service-accepted files (resized rasters, unchanged SVGs) can be retrieved. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
The /_image endpoint in Astro (versions 5.14.3 through 7.4.6, when deployed with the @astrojs/node adapter) validated requested local-image paths with a case-insensitive comparison, so on a case-sensitive filesystem a sibling directory whose name differs from the build output only by letter case (for example /srv/app/DIST/client next to /srv/app/dist/client) passed the containment check and its images could be served to an unauthenticated requester. Exposure is narrow: the site must use on-demand rendering with @astrojs/node, the server must run on a case-sensitive filesystem, and a case-variant sibling directory must already exist, a layout the advisory calls unusual and which an attacker cannot create; only files the image service accepts are returned (raster images resized, SVGs unchanged), and plain traversal to unrelated paths was already rejected. The vendor-released patch is Astro 7.4.7; no public exploit code has been identified at time of analysis, the issue is not in CISA KEV, and the assessed severity is moderate (vendor CVSS 4.0 score 6.3; independent assessment CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N, confidentiality-only impact).
RemediationAI
Vendor-released patch: Astro 7.4.7 (release https://github.com/withastro/astro/releases/tag/astro@7.4.7, fix commit 7da442bb286e0c29e1c9e1add6727b7cbf434f1a); upgrade the astro package to 7.4.7 or later, since the path check lives in astro and upgrading @astrojs/node alone is not sufficient. Because the fix compares paths exactly and folds case only for Windows drive-letter paths, any custom code that imports isParentDirectory from @astrojs/internal-helpers should be reviewed for the same case-folding assumption. Before patching, the vendor's stated workaround is to verify that no directory adjacent to the build output directory has a path differing from it only by letter case and to rename or remove any such case-variant sibling (for example DIST/client beside dist/client); this removes the precondition the check mishandles but does not fix the underlying comparison, so it is a temporary measure only. Full details are in the advisory at https://github.com/withastro/astro/security/advisories/GHSA-r3h5-4585-7x3w.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Root cause spans CWE-22 (path traversal) and CWE-178 (improper handling of case sensitivity) in the shared path helper used by Astro's image endpoint. In the affected versions, isParentDirectory() in @astrojs/internal-helpers lowercased both the parent path and the child path before checking containment (slash() normalization plus toLowerCase() on both sides), which is correct on Windows-style case-insensitive volumes but wrong on case-sensitive filesystems where /app/DIST/client is a distinct directory from /app/dist/client. The @astrojs/node adapter serves the /_image endpoint, which accepts an href parameter for a local image plus resizing parameters (for example ?href=/../../DIST/client/secret.png&w=32&f=png); after resolving the request path it consults the containment helper, and because the folded comparison matched, the file outside the output directory was passed to the image service. Processing constraints bound the data exposure: raster images are returned resized, SVG files are returned unmodified, and other file types fail processing. The upstream commit 7da442bb286e0c29e1c9e1add6727b7cbf434f1a changes the helper to compare paths exactly and to fold case only when both paths are Windows absolute paths (matched by /^[a-zA-Z]:[\\/]/), with regression tests covering pairs such as /app/dist/client versus /app/DIST/client/secret.png. The fix ships in the astro package, not in @astrojs/node, so adapter upgrades alone do not remediate.
Know when Astro gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated network request (PR:N/AV:N) but AC:H for the required preexisting case-variant sibling directory; only image-service-accepted files leak, so C:L, I:N, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 5 npm packages depend on @astrojs/node (3 direct, 2 indirect)
- 1 npm packages depend on astro (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 11.1.11 and other introduced versions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
SQL Injection exists in the Saxum Astro 4.0.14 component for Joomla!. Rated critical severity (CVSS 9.8), this vulnerabi
Astro web framework versions prior to 9.5.4 contain a server-side request forgery vulnerability in error page handling t
Authorization bypass in the Astro web framework version 6.4.7 lets remote unauthenticated attackers reach protected rout
Astro is a web framework for content-driven websites. Rated high severity (CVSS 7.8), this vulnerability is remotely exp
Server-side request forgery in Astro's built-in image proxy lets unauthenticated remote attackers force the server to fe
Astro is a web framework for content-driven websites. Rated high severity (CVSS 7.2), this vulnerability is remotely exp
Astro is a web framework for content-driven websites. Rated medium severity (CVSS 6.9), this vulnerability is remotely e
Astro is a web framework. Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitable, no authenticatio
Astro is a web framework. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authenticatio
Unvalidated reflection of the X-Forwarded-Host header in Astro (versions before 5.14.3) lets remote, unauthenticated att
Astro web framework versions 9.0.0 through 9.5.3 fail to validate remote image domains when the inferSize option is enab
Base-path prefix bypass in Astro prior to 7.2.4 allows unauthenticated remote attackers to reach protected server-side r
EUVD-2026-124748
GHSA-r3h5-4585-7x3w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB