nday
CVE-2026-126364 GHSA-r3h5-4585-7x3w

Astro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystems

withastro / astro

公開から 1 日後に修正版が確認されています。修正済みバージョンは astro 7.4.7 です。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

path traversal
CWE-22, stated by the CNA GitHub_M、NVD, republishing [email protected]、GitHub advisory GHSA-r3h5-4585-7x3w
remote, unauthenticated
AV:N、PR:N、UI:N in 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 (CVSS 4.0) from the CNA GitHub_M
network
AV:N in 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 (CVSS 4.0) from the CNA GitHub_M
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA GitHub_M
npm
GHSA-r3h5-4585-7x3w: npm packages @astrojs/node、astro
現在の段階
PAT
公開日時
公開から修正版まで
T+1d
CVSS 基本値
6.3 MEDIUM v4.0

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
11-12T22:33Z
PAT修正
11-13T19:04Z
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: the attacker must evade or get around security measures such as ASLR or DEP, or obtain target-specific secrets
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

イベント履歴

+DIS公開

GitHub_M が CVE レコードを公開。CVSS 基本値 6.3(警告)。

出典 cvelist · nday が にリアルタイムで観測 · 生データ
{
  "id": 66656,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-126364",
  "occurred_at": "2026-11-12T22:33:17.635Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "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",
      "version": "4.0",
      "base_score": 6.3,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-13T00:37:48.200390Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-12T22:33:17.635Z",
    "assigner_short_name": "GitHub_M"
  }
}
ソースに時刻なし、nday が観測
+PAT修正版公開

アドバイザリ記載の修正済みバージョン:astro 7.4.7。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 ghsa GHSA-r3h5-4585-7x3w · nday が にリアルタイムで観測 · 生データ
{
  "id": 471084,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-r3h5-4585-7x3w",
  "occurred_at": null,
  "observed_at": "2026-11-13T19:04:12.554042Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-r3h5-4585-7x3w",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 6.3,
        "vector_string": "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"
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      },
      {
        "name": "Improper Handling of Case Sensitivity",
        "cwe_id": "CWE-178"
      }
    ],
    "ghsa_id": "GHSA-r3h5-4585-7x3w",
    "packages": [
      {
        "name": "@astrojs/node",
        "ecosystem": "npm",
        "first_patched_version": null,
        "vulnerable_version_range": "<= 11.1.11"
      },
      {
        "name": "astro",
        "ecosystem": "npm",
        "first_patched_version": "7.4.7",
        "vulnerable_version_range": ">= 5.14.3, <= 7.4.6"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/withastro/astro/security/advisories/GHSA-r3h5-4585-7x3w",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-126364",
      "https://github.com/withastro/astro/commit/7da442bb286e0c29e1c9e1add6727b7cbf434f1a",
      "https://github.com/withastro/astro/releases/tag/[email protected]",
      "https://github.com/advisories/GHSA-r3h5-4585-7x3w"
    ],
    "fix_commit_urls": [
      "https://github.com/withastro/astro/commit/7da442bb286e0c29e1c9e1add6727b7cbf434f1a"
    ],
    "github_reviewed_at": "2026-11-13T18:35:59Z",
    "advisory_updated_at": "2026-11-13T18:36:00Z",
    "source_code_location": "https://github.com/withastro/astro",
    "advisory_published_at": "2026-11-13T18:35:59Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.