Advisory record · GHSA-7jx7-3846-m7w7

Craft CMS Vulnerable to potential authenticated Remote Code Execution via malicious attached Behavior

CVSS 8.6 HighEPSS 0.011 · 66th percentile

Published by the GitHub Advisory Database at 9 Feb 2026, 20:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=5.0.0-RC1, <5.8.22 || >=4.0.0-RC1, <4.16.185.8.22, 4.16.18
Identifiers
GHSA-7jx7-3846-m7w7 · CVE-2026-25498 · PKSA-g2n6-j3mn-x8xf
Weakness (CWE)
CWE-470
Published
9 Feb 2026
Updated
2 Apr 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft CMS versions 4.0.0-RC1 to before 4.16.18 and 5.0.0-RC1 to before 5.8.22 are affected. An authenticated administrator can inject a malicious behavior configuration through the field layout settings in the admin panel, which can lead to execution of arbitrary system commands on the server. Upgrade to Craft CMS 4.16.18 or 5.8.22.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.6 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.011, the 66th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.