AUGUST 15, 2026
Live Feed
Back to database
Case File

CVE-2026-72782

MEDIUM · CVSS 6.5 EPSS 0.23% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-08-11 · Last synced 2026-08-15

CyberRota Analysis

AI-Generated

Craft CMS versions 5.0.0-RC1 through 5.10.5 and 4.0.0-RC1 through 4.18.1 are vulnerable to an issue where environment variables and secrets can be interpolated into Twig templates, even with the sandbox enabled. An authenticated attacker with control panel access can exploit this vulnerability to leak sensitive information, potentially leading to session forgery, privilege escalation, and the theft of critical credentials. Organizations using affected versions should prioritize upgrading to versions 5.10.6 or 4.18.2 to mitigate these risks.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-72782
Severity
MEDIUM
CVSS
6.5
EPSS
0.23%

Original NVD Description

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.