Splunk RCE via `/splunkd/__upload/indexing/preview` and `unarchive_cmd` (CVE-2026-20163)
Patch & Detection Intelligence · 2 sources · Updated 5mo ago · First seen Mar 12, 2026

Splunk disclosed a high-severity remote command execution (RCE) vulnerability, CVE-2026-20163 (CVSS 8.0), affecting Splunk Enterprise and Splunk Cloud Platform. The issue is a command injection weakness (CWE-77) in the REST endpoint /splunkd/__upload/indexing/preview, where user-controlled input is insufficiently sanitized during the “uploaded file preview before indexing” workflow.
Exploitation requires an authenticated user whose role includes the high-privilege capability edit_cmd; under that condition, an attacker can abuse the unarchive_cmd parameter to execute arbitrary shell commands on the underlying host. Reported affected versions include Splunk Enterprise 10.0.0–10.0.3, 9.4.0–9.4.8, and 9.3.0–9.3.9, plus Splunk Cloud Platform versions below 10.2.2510.5, 10.1.2507.16, 10.0.2503.12, and 9.3.2411.124; fixed thresholds are Enterprise 10.0.4, 9.4.9, 9.3.10, and 10.2.0 (with the base Enterprise 10.2 release noted as not affected). The disclosure credits researcher Danylo Dmytriiev (DDV_UA) along with Splunk personnel Gabriel Nitu and James Ervin.


