CVE-2026-126364
Astro unauthorized file read in image endpoint
An unauthenticated remote attacker can read image files from a sibling directory on case-sensitive filesystems.
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
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 7.4.7 | astro · -7 d desde divulgación | |
| Remediación | Parche 11.1.12 | @astrojs/node · -2 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-126364 divulgada · CVSS 6.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Astro, the web framework, has a flaw in its image endpoint (/_image) that affects the @astrojs/node adapter on case-sensitive filesystems. Remotely and without logging in, an attacker can read image files from a case-variant sibling of the output directory that the containment check should have blocked, but only when the site uses on-demand rendering and such a sibling directory already exists.
Descripción original del registro (GitHub_M)
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@astrojs/node |
Corregida | 11.1.12 | -2 d | 11.1.13 no afectada |
npmastro |
Corregida | 7.4.7 | -7 d | 7.4.12 no afectada |
7.4.711.1.12Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/withastro/astro/security/advisories/GHSA-r3h5-4585-7x3whttps://github.com/withastro/astro/commit/7da442bb286e0c29e1c9e1add6727b7cbf434f1ahttps://github.com/withastro/astro/releases/tag/astro@7.4.7Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
