CVE-2023-40598: Command Injection in Splunk Enterprise Using External Lookups
Vulnerability summary
CVE-2023-40598 is a high (CVSS 8.8) vulnerability in splunk. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 59.5% of scored vulnerabilities.
Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-08-2023PublishedVulnerability first disclosed.
- 28-02-2025Last modifiedVulnerability information updated.
Description
In Splunk Enterprise versions below 8.2.12, 9.0.6, and 9.1.1, an attacker can create an external lookup that calls a legacy internal function. The attacker can use this internal function to insert code into the Splunk platform installation directory. From there, a user can execute arbitrary code on the Splunk platform Instance.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.85%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.85% 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-77Improper Neutralization of Special Elements used in a CommandThe product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
- CWE-306Missing Authentication for Critical FunctionalityThe product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Splunk4 products
- splunk< 8.2.12 | ≥ 9.0.0, < 9.0.6 | ≥ 9.1.0, < 9.1.1
- splunk cloud≥ -, < 9.0.2305.200
- splunk_cloud_platform< 9.0.2305.200
- 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-0807Vendor Advisory