Skip to main content

Astro EUVDEUVD-2026-124748

| CVE-2026-126364 MEDIUM
Path Traversal (CWE-22)
2026-11-12 GitHub_M GHSA-r3h5-4585-7x3w
6.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted /_image request with case-variant href
  2. Exploit
    Pass case-insensitive containment check on sibling dir
  3. Execution
    Image service reads file from outside output directory
  4. Impact
    Receive 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

astro 5.14.3, < 7.4.7

Affected Packages

npm @astrojs/node no fix
npm astro fix: 7.4.7

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

Vendor (GitHub_M) PRIMARY 6.3 MEDIUM
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
vuln.today AI 3.7 LOW

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 3.7 LOW

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 12, 2026 - 23:03 EUVD

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
popular web framework, but exploitable subset is @astrojs/node SSR deployments
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Astro

View all
CVE-2018-7180 CRITICAL POC
9.8 Feb 17

SQL Injection exists in the Saxum Astro 4.0.14 component for Joomla!. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2026-25545 HIGH POC
8.6 Feb 24

Astro web framework versions prior to 9.5.4 contain a server-side request forgery vulnerability in error page handling t

CVE-2026-59731 HIGH POC
8.2 Jul 08

Authorization bypass in the Astro web framework version 6.4.7 lets remote unauthenticated attackers reach protected rout

CVE-2024-56159 HIGH POC
7.8 Dec 19

Astro is a web framework for content-driven websites. Rated high severity (CVSS 7.8), this vulnerability is remotely exp

CVE-2025-59837 HIGH POC
7.2 Oct 28

Server-side request forgery in Astro's built-in image proxy lets unauthenticated remote attackers force the server to fe

CVE-2025-58179 HIGH POC
7.2 Sep 05

Astro is a web framework for content-driven websites. Rated high severity (CVSS 7.2), this vulnerability is remotely exp

CVE-2025-55303 MEDIUM POC
6.9 Aug 19

Astro is a web framework for content-driven websites. Rated medium severity (CVSS 6.9), this vulnerability is remotely e

CVE-2025-64765 MEDIUM POC
6.9 Nov 19

Astro is a web framework. Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitable, no authenticatio

CVE-2025-64525 MEDIUM POC
6.5 Nov 13

Astro is a web framework. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authenticatio

CVE-2025-61925 MEDIUM POC
6.5 Oct 10

Unvalidated reflection of the X-Forwarded-Host header in Astro (versions before 5.14.3) lets remote, unauthenticated att

CVE-2026-27829 MEDIUM POC
6.5 Feb 26

Astro web framework versions 9.0.0 through 9.5.3 fail to validate remote image domains when the inferSize option is enab

CVE-2026-84376 MEDIUM POC
6.3 Sep 02

Base-path prefix bypass in Astro prior to 7.2.4 allows unauthenticated remote attackers to reach protected server-side r

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy