Intel

AIKIDO-2025-10913

craftcms/cms is vulnerable to Remote Code Execution (RCE)

CVE-2025-68454Published Dec 10, 2025
December 10, 2025

85

CVE Score

High

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Remote Code Execution due to insufficient validation of the $arrow parameter in the groupFilter method, where the old code allowed an unvalidated callable or string to be executed. An attacker could potentially exploit this by passing crafted malicious input that gets executed as code, leading to arbitrary command execution on the server. The patch mitigates this by implementing a validation check via self::checkArrowFunction() before processing the parameter.

How do I fix this?

Upgrade the craftcms/cms library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

4.0.0 - 4.16.16

Fixed in 4.16.17

5.0.0 - 5.8.20

Fixed in 5.8.21

Background info

craftcms/cms is vulnerable to Remote Code Execution (RCE) in versions 5.0.0 - 5.8.20 and 4.0.0 - 4.16.16.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea