# CVE-2023-40595: Remote Code Execution via Serialized Session Payload

- Vendor: Splunk, Splunk Enterprise, Splunk Cloud
- Severity: HIGH (CVSS 3.1 8.8)
- Exploited (CISA KEV): not listed
- EPSS: 0.9% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: SVD-2023-0804, https://advisory.splunk.com/advisories/SVD-2023-0804
- Published: 2023-08-30; updated: 2025-02-28
- Page: https://patchtonight.com/cve/CVE-2023-40595/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Splunk Enterprise 8.2 | 8.2.12 or later |
| Splunk Enterprise 9.0 | 9.0.6 or later |
| Splunk Enterprise 9.1 | 9.1.1 or later |
| Splunk Cloud - | 9.0.2305.200 or later |

## The vendor's 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.

## Sources

- [Splunk advisory](https://advisory.splunk.com/advisories/SVD-2023-0804)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
