Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-32712

CVE-2023-32712: Splunk Enterprise ANSI Escape RCE Flaw

CVE-2023-32712 is an ANSI escape code injection vulnerability in Splunk Enterprise that can lead to code execution when logs are read in vulnerable terminals. This article covers technical details, affected versions, and mitigations.

Published: February 4, 2026

CVE-2023-32712 Overview

CVE-2023-32712 is a Log Injection vulnerability affecting Splunk Enterprise and Universal Forwarder that allows attackers to inject American National Standards Institute (ANSI) escape codes into Splunk log files. When these malicious log files are read by a vulnerable terminal application, the injected escape codes can potentially lead to code execution within the terminal application itself.

Critical Impact

Attackers can inject ANSI escape codes into Splunk log files that may result in code execution when viewed in vulnerable terminal applications, though exploitation requires significant user interaction.

Affected Products

  • Splunk Enterprise versions below 9.1.0.2
  • Splunk Enterprise versions below 9.0.5.1
  • Splunk Enterprise versions below 8.2.11.2
  • Universal Forwarder versions 9.1.0.1, 9.0.5, 8.2.11, and lower (when management services are active and network-accessible)

Discovery Timeline

  • June 1, 2023 - CVE-2023-32712 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-32712

Vulnerability Analysis

This vulnerability belongs to the Log Injection (CWE-117) and Improper Encoding or Escaping of Output (CWE-116) categories. The attack chain is indirect—Splunk Enterprise and Universal Forwarder are not directly compromised. Instead, the vulnerability exploits the trust relationship between log files and terminal emulators that interpret ANSI escape sequences.

ANSI escape codes are special character sequences used by terminal applications to control cursor positioning, text formatting, and other display features. However, some terminal emulators support dangerous escape sequences that can execute arbitrary commands or modify system state. When an attacker injects these sequences into Splunk log files and a user subsequently views those logs in a vulnerable terminal, the terminal interprets and executes the malicious escape codes.

The attack surface varies depending on the deployment configuration. Universal Forwarder versions 9.0.x and 9.1.x bind management services to localhost, reducing network exposure. Version 9.1 further mitigates risk by using Unix Domain Sockets (UDS) for inter-process communication.

Root Cause

The root cause is improper output encoding (CWE-116) combined with log injection (CWE-117). Splunk does not sanitize or escape ANSI control characters when writing to log files. This allows attackers who can influence logged data to embed malicious escape sequences that persist in the log files and are later interpreted by terminal applications.

Attack Vector

The attack requires network access to inject malicious data that gets logged by Splunk, but the actual exploitation depends on user interaction. The attacker must:

  1. Inject ANSI escape codes into data that Splunk will log (e.g., through crafted HTTP requests, log messages, or other input sources)
  2. Wait for an administrator or user to view the poisoned log file in a terminal emulator that supports dangerous escape sequences
  3. Rely on the user's terminal application to interpret and execute the malicious escape codes

For Universal Forwarder instances with management services exposed over the network (versions 9.1.0.1, 9.0.5, 8.2.11, and below), the attack surface is larger. The impact varies significantly based on the terminal application's permissions and whether the user copies the log file to another machine for viewing.

The malicious escape codes are embedded within log entries and may appear innocuous in text editors but execute when rendered by a vulnerable terminal. Common attack payloads include terminal title manipulation, clipboard injection, and in severe cases, command execution through terminal-specific escape sequences.

Detection Methods for CVE-2023-32712

Indicators of Compromise

  • Presence of ANSI escape sequences (starting with \\x1b[ or \033[) in Splunk log files
  • Unusual control characters in log entries that don't correspond to legitimate application output
  • Log entries containing suspicious sequences like \\x1b] (Operating System Command sequences) or \\x1bP (Device Control String)

Detection Strategies

  • Monitor Splunk log files for non-printable control characters and escape sequences using pattern matching
  • Implement log analysis rules to alert on potential ANSI injection attempts in indexed data
  • Review Universal Forwarder configurations to identify instances with management services exposed to the network
  • Utilize the Splunk Research detection for identifying potential exploitation attempts

Monitoring Recommendations

  • Configure terminal applications to disable interpretation of dangerous escape sequences when viewing untrusted log files
  • Implement centralized log review processes that use sanitizing viewers rather than raw terminal output
  • Monitor network access to Universal Forwarder management ports for unauthorized connection attempts

How to Mitigate CVE-2023-32712

Immediate Actions Required

  • Upgrade Splunk Enterprise to version 9.1.0.2, 9.0.5.1, or 8.2.11.2 or later
  • Upgrade Universal Forwarder to versions that bind management services to localhost or use UDS
  • Restrict network access to Universal Forwarder management services using firewall rules
  • Use log viewers that sanitize or disable ANSI escape sequence interpretation when reviewing Splunk logs

Patch Information

Splunk has released patches addressing this vulnerability. Refer to the Splunk Security Advisory SVD-2023-0606 for detailed upgrade instructions and version-specific guidance. The fixed versions are:

  • Splunk Enterprise 9.1.0.2 and later
  • Splunk Enterprise 9.0.5.1 and later
  • Splunk Enterprise 8.2.11.2 and later

Workarounds

  • Configure terminal emulators to disable dangerous escape sequences (e.g., use less -R with caution or pipe output through cat -v to visualize control characters)
  • View Splunk log files only through the Splunk web interface or sanitizing text editors rather than terminal applications
  • Restrict network access to Universal Forwarder management services to trusted hosts only
  • Review SVD-2022-0605 for additional guidance on securing Universal Forwarder management services
bash
# Example: View log files safely by converting escape sequences to visible characters
cat -v /opt/splunk/var/log/splunk/splunkd.log | less

# Alternatively, use sed to strip ANSI escape codes before viewing
sed 's/\\x1b\[[0-9;]*[a-zA-Z]//g' /opt/splunk/var/log/splunk/splunkd.log | less

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSplunk

  • SeverityLOW

  • CVSS Score3.1

  • EPSS Probability0.28%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-117

  • CWE-116
  • Technical References
  • Splunk Research Analysis Document
  • Vendor Resources
  • Splunk Security Advisory SVD-2023-0606
  • 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