CVE-2023-40595 in Splunk and 1 more product
In Splunk Enterprise versions lower than 8.2.12, 9.0.6, and 9.1.1, an attacker can execute a specially crafted query that they can then use to serialize untrusted data. The attacker can use the query to execute arbitrary code.
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Splunk | Splunk | 9.1.0 ≥ 8.2.0, < 8.2.12 ≥ 9.0.0, < 9.0.6 |
| Splunk | Splunk Cloud Platform | ≤ 9.0.2305.100 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Splunk Enterprise versions lower than 8.2.12, 9.0.6, and 9.1.1, an attacker can execute a specially crafted query that they can then use to serialize untrusted data. The attacker can use the query to execute arbitrary code.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-40595 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-343668-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-08-30 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-502: Deserialization of Untrusted Data
Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.
Related attack patterns (CAPEC)
CAPEC-586 Object Injection via CWE-502
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in Splunk Enterprise versions lower than 8.2.12, 9.0.6, and 9.1.1 allows attackers to execute arbitrary code through a specially crafted query that serializes untrusted data.
The attack vector involves an attacker crafting a malicious query that, when executed in the vulnerable Splunk Enterprise versions, can serialize untrusted data leading to arbitrary code execution. This can be achieved by exploiting improper validation of user-supplied input in the query processing mechanism.
Questions
What is CVE-2023-40595?
A critical vulnerability in Splunk Enterprise versions lower than 8.2.12, 9.0.6, and 9.1.1 allows attackers to execute arbitrary code through a specially crafted query that serializes untrusted data.
What is the CVSS score for CVE-2023-40595?
CVE-2023-40595 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.5%.
Is CVE-2023-40595 actively exploited?
No confirmed active exploitation of CVE-2023-40595 as of 2026-05-30.
How do I remediate CVE-2023-40595?
Priority: IMMEDIATE. Advisory: https://advisory.splunk.com/advisories/SVD-2023-0804 PSIRT: [email protected]
What systems are affected by CVE-2023-40595?
CVE-2023-40595 affects Splunk Splunk, Splunk Cloud Platform.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Splunk","product":"Splunk","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.