CVE-2026-126663
Contao Core Bundle arbitrary file read in image insert tag
A logged-in editor can read any image file on the server by encoding path sequences in an insert tag.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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 |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-126663 divulgada · CVSS 5.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 | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Contao, a content management system, is affected: content editors who are logged in can use the {{image::}} insert tag with percent-encoded path sequences to read image files from anywhere on the server's filesystem, not just the files directory, over the network. The attack needs only low-privilege editor access and no user interaction.
Descripción original del registro (VulnCheck)
Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6 contains a path traversal vulnerability that allows content editors to read image files anywhere on the filesystem via the {{image::}} insert tag. Attackers can embed percent-encoded sequences like ..%2f that pass Validator::isInsecurePath() before rawurldecode(), making the frontend resize and serve readable image files outside the files directory.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
contao/core-bundle |
Corregida | 5.3.54, 5.7.17, 6.0.6 | — | — |
5.3.545.7.176.0.6Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/contao/contao/security/advisories/GHSA-r7cf-mfp4-r23hhttps://github.com/contao/contao/commit/688c0f6213afbd000cd22ad0a44555eca80b40abhttps://github.com/contao/contao/commit/0f7989eb5b28d85dcd441ef22f80f8af4f56433ehttps://github.com/contao/contao/commit/e820e3c9d79a5c07f274558513c8db08a79bf804https://github.com/contao/contao/releases/tag/5.3.54https://github.com/contao/contao/releases/tag/5.7.17https://github.com/contao/contao/releases/tag/6.0.6https://github.com/contao/contao/blob/5.3.53/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php#L565-L582https://www.vulncheck.com/advisories/contao-4.0.0-before-5.3.54-5.4.0-before-5.7.17-and-6.0.0-before-6.0.6-path-traversal-via-image-insert-tagLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
