CVE-2026-28783CRITICAL 9.1EPSS p36.6%

CVE-2026-28783CVE-2026-28783

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.

Scoring

CVSS 3.19.1 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS0.46% probability of exploitation · percentile 36.6% · 2026-06-18T12:00:27Z
Published2026-03-04
Last modified2026-03-05

Underlying weaknesses· 3

CWE-94CWE-184CWE-1336

References

  1. https://github.com/craftcms/cms/pull/18208
  2. https://github.com/craftcms/cms/security/advisories/GHSA-5fvc-7894-ghp4

3

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements Used in a Template Enginecwe-13360%live
WeaknessIncomplete List of Disallowed Inputscwe-1840%live
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-28697
CVE
CVE-2026-31857
CVE
CVE-2025-68454
CVE
CVE-2026-32267
CVE
CVE-2026-31858
CVE
Craft CMS Code Injection Vulnerability
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.