VYPR
High severity7.2NVD Advisory· Published Mar 4, 2026· Updated Jun 17, 2026

CVE-2026-28784

CVE-2026-28784

Description

Craft is a content management system (CMS). Prior to 5.8.22 and 4.16.18, it is possible to craft a malicious payload using the Twig map filter in text fields that accept Twig input under Settings in the Craft control panel or using the System Messages utility, which could lead to a RCE. For this to work, you must have administrator access to the Craft Control Panel, and allowAdminChanges must be enabled for this to work, which is against our recommendations for any non-dev environment. Alternatively, you can have a non-administrator account with allowAdminChanges disabled, but you have access to the System Messages utility. Users should update to the patched versions (5.8.22 and 4.16.18) to mitigate the issue.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
craftcms/cmsPackagist
>= 5.0.0-RC1, < 5.9.0-beta.15.9.0-beta.1
craftcms/cmsPackagist
>= 4.0.0-RC1, < 4.17.0-beta.14.17.0-beta.1

Affected products

9
  • cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*+ 6 more
    • cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*range: >4.0.0,<4.17.0
    • cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*
    • cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:*
    • cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:*
    • cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:*
    • cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:*
    • cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*
  • ghsa-coords
    Range: >= 5.0.0-RC1, < 5.9.0-beta.1
  • Range: >= 5.0.0-RC1, < 5.9.0-beta.1

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.