The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-40595

CVE-2023-40595: Splunk Enterprise RCE Vulnerability

CVE-2023-40595 is a remote code execution vulnerability in Splunk Enterprise that allows attackers to execute arbitrary code through specially crafted queries. This article covers technical details, affected versions, and steps.

Published: February 11, 2026

CVE-2023-40595 Overview

CVE-2023-40595 is an insecure deserialization vulnerability affecting Splunk Enterprise and Splunk Cloud Platform. An attacker with low-privilege access can execute a specially crafted query that serializes untrusted data, ultimately enabling arbitrary code execution on the target system. This vulnerability poses a significant risk to organizations relying on Splunk for security monitoring and log management, as successful exploitation could compromise the integrity of security infrastructure.

Critical Impact

Authenticated attackers can leverage malicious queries to achieve remote code execution, potentially gaining full control over Splunk Enterprise deployments and accessing sensitive log data across the organization.

Affected Products

  • Splunk Enterprise versions lower than 8.2.12
  • Splunk Enterprise versions lower than 9.0.6
  • Splunk Enterprise version 9.1.0 (fixed in 9.1.1)
  • Splunk Cloud Platform (versions prior to patch)

Discovery Timeline

  • August 30, 2023 - CVE-2023-40595 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-40595

Vulnerability Analysis

This vulnerability is classified as CWE-502 (Deserialization of Untrusted Data). The flaw exists in how Splunk Enterprise processes certain query operations, allowing attackers to inject serialized objects that are subsequently deserialized without proper validation. When the application deserializes malicious data, it can instantiate arbitrary objects and execute attacker-controlled code within the context of the Splunk service.

The attack requires network access and low-privilege authentication to the Splunk environment. Once authenticated, an attacker can craft specialized queries that exploit the deserialization mechanism. The vulnerability impacts confidentiality, integrity, and availability of the affected system, as successful exploitation grants the attacker the ability to execute arbitrary commands with the privileges of the Splunk process.

Root Cause

The root cause of CVE-2023-40595 lies in insufficient validation of serialized data during query processing. Splunk Enterprise fails to properly sanitize or validate objects before deserializing them, creating an opportunity for attackers to inject malicious serialized payloads. This design flaw allows untrusted user input to influence the deserialization process, leading to object injection and ultimately arbitrary code execution.

Attack Vector

The attack is network-based and requires the attacker to have valid credentials with at least low-level privileges on the Splunk instance. The exploitation flow involves:

  1. The attacker authenticates to the Splunk Enterprise interface with valid credentials
  2. A specially crafted search query containing malicious serialized data is submitted
  3. The Splunk backend processes the query and deserializes the untrusted data
  4. During deserialization, malicious objects are instantiated, triggering arbitrary code execution
  5. The attacker gains code execution with the privileges of the Splunk service account

The vulnerability does not require user interaction beyond initial authentication, making it particularly dangerous in environments where multiple users have access to Splunk query functionality.

Detection Methods for CVE-2023-40595

Indicators of Compromise

  • Unusual or malformed search queries in Splunk audit logs containing serialized object patterns
  • Unexpected process spawning from the Splunk service process
  • Anomalous network connections originating from the Splunk server to external hosts
  • Modifications to Splunk configuration files or unexpected file system changes in Splunk directories

Detection Strategies

  • Monitor Splunk internal logs for queries containing unusual serialization patterns or encoded payloads
  • Implement behavioral analysis to detect abnormal Splunk process activity, such as child process creation or outbound network connections
  • Review audit logs for search queries executed by accounts with elevated access patterns
  • Deploy endpoint detection to identify code execution attempts stemming from the Splunk process

Monitoring Recommendations

  • Enable comprehensive audit logging for all Splunk search activities and user sessions
  • Configure alerts for queries that match patterns associated with serialization attacks
  • Monitor the Splunk server for signs of lateral movement or data exfiltration following query execution
  • Regularly review Splunk's internal index (_audit) for suspicious authentication and query patterns

How to Mitigate CVE-2023-40595

Immediate Actions Required

  • Upgrade Splunk Enterprise to version 8.2.12, 9.0.6, or 9.1.1 or later immediately
  • Review user accounts and remove unnecessary low-privilege access to query functionality
  • Implement network segmentation to restrict access to Splunk interfaces
  • Enable multi-factor authentication for all Splunk user accounts

Patch Information

Splunk has released security patches addressing this vulnerability. Organizations should upgrade to the following fixed versions:

  • Splunk Enterprise 8.2.12 or later (for 8.2.x branch)
  • Splunk Enterprise 9.0.6 or later (for 9.0.x branch)
  • Splunk Enterprise 9.1.1 or later (for 9.1.x branch)

For detailed patch information, refer to the Splunk Security Advisory SVD-2023-0804. Additional detection guidance is available in the Splunk Research Application Analysis.

Workarounds

  • Restrict network access to Splunk Enterprise interfaces using firewall rules to limit exposure
  • Implement strict role-based access control to minimize the number of users with query execution privileges
  • Monitor and audit all search activity until patches can be applied
  • Consider temporarily disabling external access to Splunk if immediate patching is not feasible
bash
# Example: Restrict Splunk web interface access via iptables
iptables -A INPUT -p tcp --dport 8000 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8000 -j DROP

# Example: Review Splunk audit logs for suspicious queries
/opt/splunk/bin/splunk search "index=_audit action=search | stats count by user, search" -auth admin:password

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSplunk

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.56%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Vendor Resources
  • Splunk Security Advisory SVD-2023-0804

  • Splunk Research Application Analysis
  • Related CVEs
  • CVE-2026-20204: Splunk Enterprise RCE Vulnerability

  • CVE-2026-20163: Splunk Enterprise RCE Vulnerability

  • CVE-2025-20229: Splunk Enterprise RCE Vulnerability

  • CVE-2024-36985: Splunk Enterprise RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English