CVE-2023-40597 Absolute Path Traversal in Splunk Enterprise Using runshellscript.py
An attacker can exploit absolute path traversal in Splunk Enterprise to execute arbitrary code located on a separate disk.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-40597?
CVE-2023-40597 is a high-severity path traversal vulnerability in Splunk Splunk, published on 30 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In Splunk Enterprise versions lower than 8.2.12, 9.0.6, and 9.1.1, an attacker can exploit an absolute path traversal to execute arbitrary code that is located on a separate disk.
Which versions are affected by CVE-2023-40597?
It affects 2 products.
Products include Splunk Splunk, Splunk Splunk Cloud Platform.
How do I fix CVE-2023-40597?
No fix has been published for CVE-2023-40597 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-40597 being exploited?
There is no known exploitation of CVE-2023-40597 in the wild and no public exploit code.
Other vulnerabilities in Splunk Splunk
- CVE-2026-20253 Splunk Enterprise Missing Authentication for Critical Function
- CVE-2026-76268 Missing Authentication for Critical Function in the Patroni REST API in Splunk Enterprise
- CVE-2026-76284 Improper Neutralization in Splunk Enterprise
- CVE-2026-76285 Improper Adherence to Coding Standards in Splunk Enterprise
- CVE-2017-17067 Auth bypass in n/a
Sources
Also known as GHSA-prvp-v5vw-h6ph.