CVE-2026-28783
Critical · 9.1CVSS
9.1
EPSS
0.6%
Published
Mar 4, 2026
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | craftcms/cms | 4.0.0-RC1 | 4.17.0-beta.1 |
| Packagist | craftcms/cms | 5.0.0-RC1 | 5.9.0-beta.1 |
Related vulnerabilities
- GHSA-5fvc-7894-ghp4 Craft CMS has Twig Function Blocklist Bypass Same vulnerability
- GHSA-234q-vvw3-mrfq Craft CMS has unauthenticated activation email trigger with potential user enumeration Also affects craftcms/cms
- CVE-2026-29069 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28696 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28781 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28784 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28782 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28697 Craft is a content management system (CMS). Also affects craftcms/cms