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

Hay constancia de un parche 1 día después de la divulgación. Versión corregida: astro 7.4.7. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

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] y 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
etapa
PAT
divulgación
divulgación → parche
T+1d
cvss
6.3 MEDIUM v4.0

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
11-12T22:33Z
PATparcheada
11-13T19:04Z
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 6.3, severidad media.

fuente cvelist · nday , observado en tiempo real · en bruto
{
  "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"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versión corregida según el aviso: astro 7.4.7. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-r3h5-4585-7x3w · nday , observado en tiempo real · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.