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

Medium 6.8 Published Updated

Privileged users can execute arbitrary commands via unsanitized scripted input files in Splunk Enterprise.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-20319?

CVE-2025-20319 is a medium-severity command injection vulnerability in Splunk Splunk, published on 7 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2025-20319?

It affects 1 product.

Products include Splunk Splunk.

How do I fix CVE-2025-20319?

No fix has been published for CVE-2025-20319 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-20319 being exploited?

There is no known exploitation of CVE-2025-20319 in the wild and no public exploit code.

All Splunk Splunk vulnerabilities

Sources

Also known as GHSA-f2x4-x646-23fg.

Is CVE-2025-20319 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free