1. Archivio CVE
  2. 2026
  3. CVE-2026-126663

CVE-2026-126663

4.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N 4.3 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
contao contao >= 4.0.0 < 5.3.54 –
contao contao >= 5.4.0-rc1 < 5.7.17 –
contao contao >= 6.0.0-rc1 < 6.0.6 –
Tutte le 45 vulnerabilità di Contao

Tipo di vulnerabilità

CWE-180 Incorrect Behavior Order: Validate Before Canonicalize

The product validates input before it is canonicalized.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Sviluppo · Validazione dell’input Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 47 CVE di tipo CWE-180, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org