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

CVE-2026-72782

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

Descrizione

Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 interpolate environment variables and secrets (via ${ENV_VAR} strings in the elementId parameter) into Twig templates before rendering, even when the Twig sandbox is enabled. An authenticated attacker with control panel access can render a malicious sandboxed Twig template and, using a blind error-based technique across many requests, incrementally leak arbitrary environment variables and secrets. These can be abused to forge sessions (via CRAFT_SECURITY_KEY), escalate privileges, and steal database, SMTP, API, or blob storage credentials. Fixed in 5.10.6 and 4.18.2.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
craftcms craft cms >= 5.0.0 < 5.10.6 –
craftcms craft cms >= 4.0.0 < 4.18.2 –
Tutte le 157 vulnerabilità di Craftcms Craft Cms

Tipo di vulnerabilità

CWE-668 Esposizione di una risorsa all’ambito sbagliato

Il prodotto espone una risorsa a un ambito di controllo sbagliato, dando a soggetti non previsti un accesso inappropriato.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione
Integrità Modificare i dati dell’applicazione
Altro Dipende dal contesto

Tutte le 819 CVE di tipo CWE-668, con andamento e prevenzione

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