# CVE-2025-20319: Remote Command Execution through Scripted Input Files in Splunk Enterprise

- Vendor: Splunk, Splunk Enterprise
- Severity: MEDIUM (CVSS 3.1 6.8)
- Exploited (CISA KEV): not listed
- EPSS: 0.5% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: SVD-2025-0702, https://advisory.splunk.com/advisories/SVD-2025-0702
- Published: 2025-07-07; updated: 2025-07-07
- Page: https://patchtonight.com/cve/CVE-2025-20319/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Splunk Enterprise 9.4 | 9.4.3 or later |
| Splunk Enterprise 9.3 | 9.3.5 or later |
| Splunk Enterprise 9.2 | 9.2.7 or later |
| Splunk Enterprise 9.1 | 9.1.10 or later |

## The vendor's description

In Splunk Enterprise versions below 9.4.3, 9.3.5, 9.2.7, and 9.1.10, a user who holds a role that contains the high-privilege capability `edit_scripted` and `list_inputs` capability , could perform a remote command execution due to improper user input sanitization on the scripted input files.<br><br>See [Define roles on the Splunk platform with capabilities](https://docs.splunk.com/Documentation/Splunk/latest/Security/Rolesandcapabilities) and [Setting up a scripted input ](https://docs.splunk.com/Documentation/Splunk/9.4.2/AdvancedDev/ScriptSetup)for more information.

## Sources

- [Splunk advisory](https://advisory.splunk.com/advisories/SVD-2025-0702)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
