GHSA-5fvc-7894-ghp4 · Severity: medium · Ecosystem: composer — Craft CMS has Twig Function Blocklist Bypass
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.
Conclusion & alert: CVE-2026-28783 is rated Moderate Risk (41.1/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-21 | 0.06% | 0.03% | -0.03% |
| 2 | 2026-03-05 | — | 0.06% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.4 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 9.1 | 3.1 | CRITICAL |
|
2.3 | 6.0 | [email protected] |
GHSA-5fvc-7894-ghp4 · Severity: medium · Ecosystem: composer — Craft CMS has Twig Function Blocklist Bypass
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| craftcms | craft_cms | > 4.0.0, < 4.17.0 | cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
| craftcms | craft_cms | > 5.0.0, < 5.9.0 | cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:* |
| craftcms | craft_cms | 5.0.0 | cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:* |
| craftcms | craft_cms | 5.0.0 | cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/craftcms/cms/pull/18208 | Issue Tracking Patch |
| https://github.com/craftcms/cms/security/advisories/GHSA-5fvc-7894-ghp4 | Vendor Advisory Patch |