Server-Side Template Injection in Craft CMS Affects Remote Code Execution
CVE-2026-28697
What is CVE-2026-28697?
Craft CMS prior to version 4.17.0-beta.1 and 5.9.0-beta.1 is susceptible to a Server-Side Template Injection (SSTI) vulnerability. An authenticated administrator can exploit this flaw by injecting a malicious payload into Twig template fields, such as Email Templates. This enables the attacker to invoke the craft.app.fs.write() method, allowing them to write and deploy a harmful PHP script in a directory accessible over the web. Once the script is executed through a web browser, the attacker gains the ability to execute arbitrary system commands, potentially jeopardizing the security of affected systems.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
cms >= 5.0.0-RC1, < 5.9.0-beta.1 < 5.0.0-RC1, 5.9.0-beta.1
cms >= 4.0.0-RC1, < 4.17.0-beta.1 < 4.0.0-RC1, 4.17.0-beta.1
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
