CVE-2026-112777 Craft CMS - Template Injection

Craft CMS 4.x < 4.18.8 and 5.x < 5.11.0 contain a template injection caused by case-sensitive class-name checks in Twig create() function, letting attackers with template-execution rights read .env secrets or execute code remotely.

CVSS base score 7.2 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Required
View the NVD record ↗

Details

Type
Template Injection
Impact
Remote Code Execution, Information Disclosure, File System Read, File System Write
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
19 October 2026
Updated
20 October 2026
Weakness
CWE-184

Vendor fix

Upgrade to versions 4.18.8 or 5.11.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs