llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · craftcms/cms

GHSA-7HXC-F267-H5Q7

Craft CMS: Incorrect path validation could potentially lead to path traversal

Parche disponible
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones4.18.2 · 5.10.6
Exposición107 dDesde la divulgación, 6 ago 2026, 4:36 p. m.
Detección102 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de la severidad declarada por GHSA (baja) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Bajo impacto. Igual parchea cuando toque, ¿eh?Ponla al final de la lista y no pasa nada.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
6 ago 26
1 sept 26
17 nov 26
22 nov 26
6 ago 26
2 sept 26
29 sept 26
26 oct 26
22 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-7HXC-F267-H5Q7 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
GitHub

The `ensurePathIsContained` function of the `Local` file system class is theoretically vulnerable to path traversal, although no exploitable scenario has been discovered.

When a file is read, an `Asset` object uses the `getFileStream` method of the `Volume` where the asset file is stored, which in turn uses the `getFileStream` method of the file system class used by that `Volume`. For the `Local` file system, this function returns a stream to a file on the local disk after verifying and creating the correct file path.

The file path is constructed by first validating the path and then adding a prefix to the validated and normalized path. The prefix is the path to the local directory that houses the particular volume. The order of operations matters here: first, a validation step, afterward a normalization step, and finally the construction of the resulting file path. This opens the possibility of a desanitization-style vulnerability, where the normalization invalidates the assumptions made by the validation or sanitization that preceded it.

Impact

The issue is not directly exploitable, but for hardening, a fix is recommended regardless.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida
craftcms/cms≥ 4.0.0-RC1 < 4.18.2
craftcms/cms≥ 5.0.0-RC1 < 5.10.6
4.0.0-RC1
4.18.2
5.0.0-RC1
5.10.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistcraftcms/cms
Corregida 4.18.2, 5.10.6 — —
Versiones corregidas4.18.25.10.6
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-72783
Otrahttps://github.com/craftcms/cms/security/advisories/GHSA-7hxc-f267-h5q7
Otrahttps://github.com/craftcms/cms/commit/a8425b6c707335e42c35ee2aaf03af50ea4a494d
Otrahttps://github.com/craftcms/cms/commit/bd6b9c175b4892e042e8a03760c39b0e94c4c7d6
Otrahttps://github.com/craftcms/cms
Otrahttps://github.com/craftcms/cms/releases/tag/4.18.2
Otrahttps://github.com/craftcms/cms/releases/tag/5.10.6
Otrahttps://www.vulncheck.com/advisories/craft-cms-rc1-before-path-traversal-via-ensurepathiscontained

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.