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-40596

CVE-2023-40596: Splunk Enterprise Privilege Escalation Flaw

CVE-2023-40596 is a privilege escalation vulnerability in Splunk Enterprise affecting Windows systems. Attackers exploit insecure DLL path references to install malicious code. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: May 14, 2026

CVE-2023-40596 Overview

CVE-2023-40596 affects Splunk Enterprise on Windows. A dynamic link library (DLL) shipped with Splunk Enterprise references an insecure path for the OPENSSLDIR build definition. An attacker with local access can plant malicious code at the referenced path to achieve privilege escalation on the Windows host. The vulnerability is tracked under [CWE-427] (Uncontrolled Search Path Element) and [CWE-665] (Improper Initialization). Splunk addressed the issue in versions 8.2.12, 9.0.6, and 9.1.1.

Critical Impact

A local low-privileged user can escalate to the privileges of the Splunk service by writing a malicious file to the insecure OPENSSLDIR path that the bundled DLL trusts at runtime.

Affected Products

  • Splunk Enterprise versions earlier than 8.2.12
  • Splunk Enterprise versions earlier than 9.0.6
  • Splunk Enterprise version 9.1.0 (fixed in 9.1.1) on Microsoft Windows

Discovery Timeline

  • 2023-08-30 - CVE-2023-40596 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-40596

Vulnerability Analysis

The vulnerability stems from how a DLL bundled with Splunk Enterprise was compiled. During the build process for the OpenSSL component, the OPENSSLDIR macro was set to a directory path that is writable or controllable by non-administrative users on Windows. At runtime, the DLL consults OPENSSLDIR to locate configuration files such as openssl.cnf and engine modules. Because the path resolves outside a protected system location, an attacker can introduce a malicious configuration file or supporting binary that the Splunk process loads. The Splunk service typically runs with elevated privileges, so any code loaded through this path executes in a higher security context than the attacker's own session.

Root Cause

The root cause is an insecure compile-time constant. The OPENSSLDIR build definition was set to a path that does not enforce administrative-only write access. This violates the principle that trusted configuration sources must reside in locations protected from low-privileged users. The flaw maps to [CWE-427] because the loader trusts an attacker-influenced search path, and [CWE-665] because security-relevant initialization data is drawn from an unsafe location.

Attack Vector

Exploitation requires local access with low privileges on the Windows machine running Splunk Enterprise. The attacker writes a crafted openssl.cnf file or a malicious engine DLL into the path referenced by OPENSSLDIR. When the Splunk service or a Splunk-invoked process loads the bundled OpenSSL DLL, it parses the attacker-controlled configuration and loads referenced modules. This results in code execution under the Splunk service account, yielding privilege escalation. User interaction is not required, and the scope changes because the compromised process operates with privileges beyond the attacker's original context. See the Splunk Security Advisory SVD-2023-0805 for vendor-confirmed technical details.

Detection Methods for CVE-2023-40596

Indicators of Compromise

  • Unexpected openssl.cnf files, engine DLLs, or provider modules appearing in the OPENSSLDIR path referenced by the Splunk-shipped OpenSSL DLL.
  • Splunk service processes (splunkd.exe, splunk.exe) loading DLLs from non-standard, user-writable directories.
  • New child processes spawned by splunkd.exe that execute commands or shells inconsistent with normal Splunk operation.

Detection Strategies

  • Audit file creation events in any non-administrative path referenced by the bundled OpenSSL DLL using Windows Sysmon Event ID 11.
  • Hunt for module load events (Sysmon Event ID 7) where splunkd.exe loads DLLs from user-writable locations.
  • Compare installed Splunk Enterprise versions against fixed releases 8.2.12, 9.0.6, and 9.1.1 across the Windows fleet.

Monitoring Recommendations

  • Forward Sysmon, Windows Security, and Splunk service logs to a central analytics platform for correlation of file writes and process creation under the Splunk account.
  • Alert on privilege escalation patterns where a low-privileged user's file write is followed by code execution under LocalSystem or the Splunk service account.
  • Maintain an inventory of Splunk Enterprise hosts and continuously validate patch status against SVD-2023-0805.

How to Mitigate CVE-2023-40596

Immediate Actions Required

  • Upgrade Splunk Enterprise to version 8.2.12, 9.0.6, 9.1.1, or later on all Windows hosts.
  • Restrict interactive and remote access to Splunk Enterprise Windows servers to administrators only, reducing the local attacker pool.
  • Review the OPENSSLDIR path on affected systems and remove any files that were not placed by an authorized installer.

Patch Information

Splunk released fixed builds in versions 8.2.12, 9.0.6, and 9.1.1. The patched releases rebuild the bundled OpenSSL DLL with a secure OPENSSLDIR value that points to a protected location. Refer to the Splunk Security Advisory SVD-2023-0805 for download links and version-specific guidance.

Workarounds

  • If immediate patching is not feasible, apply NTFS access control lists to deny write access for non-administrative users on the insecure OPENSSLDIR path.
  • Enforce Windows application control policies, such as AppLocker or Windows Defender Application Control, to block unsigned DLLs from loading into splunkd.exe.
  • Limit membership of local user groups on Splunk Windows servers and remove unnecessary interactive logon rights.
bash
# Example: restrict write access on the insecure OPENSSLDIR path (PowerShell)
$Path = 'C:\Path\Referenced\By\OPENSSLDIR'
icacls $Path /inheritance:r
icacls $Path /grant:r 'Administrators:(OI)(CI)F' 'SYSTEM:(OI)(CI)F'
icacls $Path /grant:r 'Users:(OI)(CI)RX'

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechSplunk

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-665

  • CWE-427
  • Vendor Resources
  • Splunk Security Advisory SVD-2023-0805
  • Related CVEs
  • CVE-2026-20203: Splunk Privilege Escalation Vulnerability

  • CVE-2026-20202: Splunk Privilege Escalation Vulnerability

  • CVE-2025-20298: Splunk Universal Forwarder Escalation

  • CVE-2024-23675: Splunk Cloud Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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