csirt@kutim:~/threat-intel/cve/CVE-2026-31857

Katalog CVE

CVSS 8.8 · High EPSS 0,92%

Kerentanan Improper Control of Generation of Code ('Code Injection') pada craftcms craft cms. Skor CVSS 3.1 8.8 (High) menurut NVD.

Deskripsi (NVD)

Craft is a content management system (CMS). Prior to 5.9.9 and 4.17.4, a Remote Code Execution vulnerability exists in the Craft CMS 5 conditions system. The BaseElementSelectConditionRule::getElementIds() method passes user-controlled string input through renderObjectTemplate() -- an unsandboxed Twig rendering function with escaping disabled. Any authenticated Control Panel user (including non-admin roles such as Author or Editor) can achieve full RCE by sending a crafted condition rule via standard element listing endpoints. This vulnerability requires no admin privileges, no special permissions beyond basic control panel access, and bypasses all production hardening settings (allowAdminChanges: false, devMode: false, enableTwigSandbox: true). Users should update to the patched 5.9.9 or 4.17.4 release to mitigate the issue.

Rincian

Terbit di NVD
11 Maret 2026
Terakhir diubah
17 Juni 2026
Status NVD
Analyzed
CVSS 3.1
8.8 (High), sumber NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-94: Improper Control of Generation of Code ('Code Injection')
EPSS (30 hari)
0,92% peluang dieksploitasi; lebih tinggi dari 59,2% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
craftcms craft cms Versi 4.0.0.1 hingga sebelum 4.17.4
craftcms craft cms Versi 5.0.1 hingga sebelum 5.9.9
craftcms craft cms Versi 4.0.0
craftcms craft cms Versi 4.0.0 beta1
craftcms craft cms Versi 4.0.0 beta2
craftcms craft cms Versi 4.0.0 beta3
craftcms craft cms Versi 4.0.0 beta4
craftcms craft cms Versi 4.0.0 rc1
craftcms craft cms Versi 4.0.0 rc2
craftcms craft cms Versi 4.0.0 rc3
craftcms craft cms Versi 5.0.0
craftcms craft cms Versi 5.0.0 rc1

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:11 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.