CYBER CODE RED

Get real-time updates on Telegram

P4Verified

CVE-2026-72782: cms 5.0.0-RC1 to before 5.10.6, 4.0.0-RC1 to before 4.18.2

CVE-2026-72782. CVSS 3.1 base score 6.5 (MEDIUM, Vendor/CNA). EPSS 0.00386 (percentile 0.30396), scored 2026-10-06.

Affected technology

cms · 5.0.0-RC1 to before 5.10.6
craftcms

cms · 4.0.0-RC1 to before 4.18.2
craftcms

Description’s affected range: 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

Component: Not specified by the source

Attack conditions (Vendor/CNA, CVSS 4.0): Network (remote) · Low privileges required · No user interaction required

What an attacker can do

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. Vendor/CNA’s CVSS 4.0 assessment (base score 7.1/10) rates confidentiality impact as high; integrity and availability impact as none.

Published

CWE
CWE-668
CCR priority
26.1 /100 (P4)
CVSS 3.1
6.5 /10 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · Vendor/CNA
EPSS
0.00386 · percentile 0.30509 · 2026-10-08
KEV
no

Provenance

Stable permalink: https://cybercodered.org/item/cve-cve-2026-72782.html