CVE
CVE-2026-28783
CNA description
Craft is a content management system (CMS). Prior to 5.9.0-beta.1 and 4.17.0-beta.1, Craft CMS implements a blocklist to prevent potentially dangerous PHP functions from being called via Twig non-Closure arrow functions. In order to be able to successfully execute this attack, you need to either have allowAdminChanges enabled on production, or a compromised admin account, or an account with access to the System Messages utility. Several PHP functions are not included in the blocklist, which could allow malicious actors with the required permissions to execute various types of payloads, including RCEs, arbitrary file reads, SSRFs, and SSTIs. This vulnerability is fixed in 5.9.0-beta.1 and 4.17.0-beta.1.
Affected versions
All Craft CMS vulnerabilities →
- > 5.0.0, < 5.9.0Fixed in 5.9.0
- 5.0.0This version only
- 5.0.0-rc1This version only
- > 4.0.0, < 4.17.0Fixed in 4.17.0
- 4.0.0This version only
- 4.0.0-rc3This version only
- 4.0.0-rc2This version only
- 4.0.0-rc1This version only
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.