{"id":"CVE-2026-115938","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-115938","generatedAt":"2026-10-27T23:50:57.819Z","title":"Craft CMS allows any authenticated control panel user to submit an element-search condition whose element selector is evaluated as a sandboxed Twig object template.","description":"Craft CMS allows any authenticated control panel user to submit an element-search condition whose element selector is evaluated as a sandboxed Twig object template. Craft’s allowed column filter delegates property lookup to Yii ArrayHelper, outside Twig’s SecurityPolicy. Repeated single-segment lookups therefore bypass the sandbox’s empty property/method allowlists.\n\n\n\nThe vulnerable condition value is ultimately cast to an integer. That does not protect the secret: the template can return author ID 1 when a guessed key character is correct and an impossible ID otherwise. The JSON endpoint returns entries for the first case and an empty array for the second, forming a stable remote character oracle.\n\n\n\nAfter recovering GeneralConfig::securityKey, the same user can compute Craft’s generic HMAC wire format offline. Signed parameters such as redirect are then accepted and passed to unsandboxed View::renderObjectTemplate(), where Twig’s string-callable form can invoke native PHP callables. The regression proof uses the harmless substr() callback and observes abcdef becoming cdef; it does not execute an OS command.","published":"2026-10-23T22:17:00.000Z","lastModified":"2026-10-26T18:34:17.000Z","status":"Awaiting Analysis","sourceIdentifier":"7004884b-51e2-48e8-b4a2-5ca29e80453e","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-1336"],"affected":[],"epss":{"score":0.00369,"percentile":0.3055,"date":"2026-10-26","history":[{"date":"2026-10-24","score":0.00682,"percentile":0.51968}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.37%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-23T22:17:00.000Z","detail":{"score":"8.7","severity":"HIGH","publishedAt":"2026-10-23T22:16:59.597Z"},"summary":"New CVE, high severity (CVSS 8.7)."}],"references":[{"url":"https://github.com/craftcms/cms","source":"7004884b-51e2-48e8-b4a2-5ca29e80453e"},{"url":"https://github.com/craftcms/cms/releases/tag/5.11.2","source":"7004884b-51e2-48e8-b4a2-5ca29e80453e"},{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-v4q3-2g5g-wjj6","source":"7004884b-51e2-48e8-b4a2-5ca29e80453e"},{"url":"https://www.hckrt.com/hacktivity/HCKRT-DRNL9W","source":"7004884b-51e2-48e8-b4a2-5ca29e80453e"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-115938","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}