CVE-2023-40597: Absolute Path Traversal in Splunk Enterprise Using runshellscript.py
Vulnerability summary
CVE-2023-40597 is a high (CVSS 8.8) Absolute Path Traversal vulnerability in splunk. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 15.2% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-08-2023PublishedVulnerability first disclosed.
- 01-07-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA7.8HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-36Absolute Path TraversalThe product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as "/abs/path" that can resolve to a location that is outside of that directory.
- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Splunk4 products
- splunkEOL≥ 8.2.0, < 8.2.12 | ≥ 9.0.0, < 9.0.6 | 9.1.0
- splunk cloud≥ -, < 9.0.2305.200
- splunk_cloud_platform≤ 9.0.2305.100
- splunk enterprise≥ 8.2, < 8.2.12 | ≥ 9.0, < 9.0.6 | ≥ 9.1, < 9.1.1
1 vendor · 4 products
References
2 links- advisory.splunk.com/advisories/SVD-2023-0806Vendor Advisory