CVE-2025-68455CWE-470

CVE-2025-68455

High · published January 6, 2026

CVSS v3.1
7.2
EPSS
1%
Percentile
61.4
In the wild
Unconfirmed
What it is

⚡ An administrator with a not-so-great sense of security can trigger a disaster! Craft versions 5.0.0-RC1 to 5.8.20 and 4.0.0-RC1 to 4.16.16 have a sneaky remote code execution vulnerability lurking in attached Behaviors. 🔥 Think of it like a chef with unrestricted access to the kitchen; if they don't check the ingredients, a rogue spice could spoil the entire dish. In this case, an attacker with admin access could mix in malicious code without anyone noticing! If exploited, this vulnerability could give attackers the keys to the kingdom, allowing them to execute any code within the system. Imagine an unwanted guest taking over the kitchen and serving up whatever they like, potentially leading to data breaches or system instability. It's a scenario nobody wants in their digital kitchen!

Put simply

Think of it like a chef with unrestricted access to the kitchen; if they don't check the ingredients, a rogue spice could spoil the entire dish. In this case, an attacker with admin access could mix in malicious code without anyone noticing! Versions of Craft from 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16 allow authenticated remote code execution due to improperly validated attached Behaviors. An attacker with admin access can leverage this flaw to run arbitrary code on the server.

What to do

If exploited, this vulnerability could give attackers the keys to the kingdom, allowing them to execute any code within the system. Imagine an unwanted guest taking over the kitchen and serving up whatever they like, potentially leading to data breaches or system instability. It's a scenario nobody wants in their digital kitchen! Update your Craft installation to versions 5.8.21 or 4.16.17 to patch this vulnerability immediately. Additionally, consider reviewing who has admin access to the Craft Control Panel and tighten security measures where necessary. Don't overlook this! You've got this! By following these steps, you'll keep your digital kitchen safe and secure! 🛡️

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00966 · 61.4th percentile
Weakness
CWE-470 · Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
Published
2026-01-06T03:15Z
Affected products (8)
ProductVersionsFixed in
craftcms/craft_cms≥ 4.0.0.1, < 4.16.174.16.17
craftcms/craft_cms≥ 5.0.1, < 5.8.215.8.21
craftcms/craft_cmsall versions—
craftcms/craft_cmsall versions—
craftcms/craft_cmsall versions—
craftcms/craft_cmsall versions—
craftcms/craft_cmsall versions—
craftcms/craft_cmsall versions—
References (6)
EPSS history
Timeline
  • 05 JAN 21:59Z
    Craft CMS vulnerable to potential authenticated Remote Code Execution via malicious attached Behavior
    cvelistv5