Splunk AI Toolkit
CVE-2026-20266
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Splunk admin credentials
-
DeliveryAuthenticate to Splunk web/REST
-
ExploitInvoke AI Toolkit btool helper with metacharacter payload
-
ExecutionShell interprets injected command
-
PersistExecute OS commands as splunkd user
-
ImpactEstablish host foothold beyond Splunk RBAC
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated session as a user holding the Splunk admin role on a Splunk Enterprise instance that has the Splunk AI Toolkit app (versions below 5.7.4) installed and reachable; the attacker must invoke the btool configuration helper code path and supply parameter values containing shell metacharacters. Exploitation is limited to deployments where the AI Toolkit app is actually installed and where admin-role accounts exist that are not already trusted at OS level - instances without the app, or where admin is tightly scoped to a small operator group, materially reduce real-world exposure. |
| Impact | The CVSS 3.1 base score of 9.1 is driven mainly by AV:N, S:C, and full CIA impact, but PR:H means the attacker must already hold the Splunk admin role - a highly privileged identity that, in most realistic Splunk deployments, can already install apps, modify inputs.conf, and run scripted inputs. That tempers the practical urgency: this is more a privilege-boundary escape from Splunk admin to OS shell than a remote pre-auth RCE. There is no EPSS score, no KEV listing, and no public PoC in the supplied intelligence, suggesting opportunistic mass exploitation is unlikely; the realistic threat model is insider abuse, compromised admin credentials, or lateral movement after an earlier account takeover. The scope-change rating is justified because the toolkit code runs inside splunkd but the OS commands execute against the host beyond Splunk's security authority. |
| Exploit ScenarioDerived | An attacker who has stolen or coerced Splunk admin credentials, or a malicious internal admin seeking host-level access, invokes the AI Toolkit's btool configuration helper with a parameter containing shell metacharacters such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Authenticated command injection in Splunk AI Toolkit versions below 5.7.4 allows a user with the Splunk admin role to execute arbitrary OS commands on the underlying Splunk Enterprise host. The flaw lives in the btool configuration helper, which builds shell command strings from dynamic parameters with shell interpretation enabled. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade the Splunk AI Toolkit app to version 5.7.4 or later, per Splunk advisory SVD-2026-0614 (https://advisory.splunk.com/advisories/SVD-2026-0614). Until the upgrade is applied, restrict the Splunk admin role to a minimal set of trusted operators, audit role assignments and capability inheritance, and remove or disable the Splunk AI Toolkit app on instances that do not actively use it (uninstalling the app removes the vulnerable btool helper at the cost of losing ML/LLM workflows). Monitor splunkd and OS process logs for unexpected shell child processes spawned by the splunkd user as a detection compensating control.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Splunk AI Toolkit is an add-on app for Splunk Enterprise that integrates machine learning and large-language-model workflows. CPE cpe:2.3:a:splunk:splunk_ai_toolkit:*:*:*:*:*:*:*:* identifies the affected app distribution. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), specifically an unsafe shell=True style invocation around Splunk's btool configuration helper. Because dynamic parameters are concatenated into a command string that is then passed through a shell interpreter, metacharacters such as ;, |, $(), and backticks are evaluated rather than treated as literal arguments, allowing arbitrary commands to run with the privileges of the splunkd process.
Know when Splunk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Network-reachable Splunk management plane (AV:N), no special conditions beyond admin role (AC:L, PR:H), no user interaction, and shell escape from splunkd to OS justifies S:C with full CIA impact.
Primary rating from Vendor (cisco).
CVSS VectorVendor: cisco
DescriptionCVE.org
In Splunk AI Toolkit versions below 5.7.4, a user who holds the "admin" Splunk role could execute arbitrary OS commands on the host running the Splunk Enterprise instance.
The vulnerability is possible because of an unsafe shell execution pattern in the btool configuration helper, which constructs OS command strings from dynamic parameters without disabling shell interpretation.
Executive ViewAI
Splunk AI Toolkit versions below 5.7.4 contain a critical authenticated command injection vulnerability (CVE-2026-20266, CVSS 9.1) that enables users with administrative privileges to execute arbitrary operating system commands with full system access. No public exploit identified at time of analysis, though the vulnerability poses significant risk as an insider threat vector or if administrative credentials are compromised. No vendor-released patch identified at time of analysis, requiring immediate compensating controls.
Enable comprehensive audit logging for all administrative activity, OS command execution, and configuration changes within Splunk; restrict admin role membership to essential personnel and implement multi-factor authentication for all administrative access; implement network-level segmentation to isolate Splunk infrastructure and limit lateral movement if administrative credentials are compromised; disable or restrict access to the btool configuration helper function where operationally feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when
curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple t
In Splunk Enterprise versions below 9.2.2, 9.1.5, and 9.0.10, a low-privileged user that does not hold the admin or powe
In Splunk Enterprise versions below 9.0.7 and 9.1.2, Splunk Enterprise does not safely sanitize extensible stylesheet la
In versions of Splunk Enterprise below 9.0.5, 8.2.11, and 8.1.14, and Splunk Cloud Platform below version 9.0.2303.100,
In Splunk Enterprise versions below 8.2.9, 8.1.12, and 9.0.2, an authenticated user can execute arbitrary code through t
When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the
SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a
A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Rated high seve
When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data t
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB