CVE
CVE-2026-25498
CNA 原文 · 原文(英文)
Craft is a platform for creating digital experiences. In versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, a Remote Code Execution (RCE) vulnerability exists in Craft CMS where the assembleLayoutFromPost() function in src/services/Fields.php fails to sanitize user-supplied configuration data before passing it to Craft::createObject(). This allows authenticated administrators to inject malicious Yii2 behavior configurations that execute arbitrary system commands on the server. This vulnerability represents an unpatched variant of the behavior injection vulnerability addressed in CVE-2025-68455, affecting different endpoints through a separate code path. This vulnerability is fixed in 5.8.22.
受影响版本
- > 5.0.0, < 5.8.22修复版本 5.8.22
- 5.0.0仅此版本
- 5.0.0-rc1仅此版本
- > 4.0.0, < 4.16.18修复版本 4.16.18
- 4.0.0仅此版本
- 4.0.0-rc3仅此版本
- 4.0.0-rc2仅此版本
- 4.0.0-rc1仅此版本
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。