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
    • 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-46674

CVE-2023-46674: Elastic Elasticsearch Privilege Escalation

CVE-2023-46674 is a privilege escalation vulnerability in Elastic Elasticsearch caused by unsafe deserialization of Java objects from Hadoop or Spark configurations. This article covers technical details, impact, and mitigation.

Published: February 4, 2026

CVE-2023-46674 Overview

CVE-2023-46674 is an insecure deserialization vulnerability affecting Elastic Elasticsearch Hadoop. The vulnerability allows authenticated users to manipulate Hadoop or Spark configuration properties to trigger unsafe deserialization of Java objects. This type of vulnerability (CWE-502) can enable attackers with local access and low privileges to achieve significant impact on the affected system's confidentiality, integrity, and availability.

Critical Impact

Authenticated users can exploit unsafe Java object deserialization through manipulated Hadoop or Spark configuration properties, potentially leading to local code execution and complete system compromise.

Affected Products

  • Elastic Elasticsearch Hadoop versions prior to 7.17.11
  • Elastic Elasticsearch Hadoop versions prior to 8.9.0

Discovery Timeline

  • Discovered by - Yakov Shafranovich, with Amazon Web Services
  • 2023-12-05 - CVE CVE-2023-46674 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-46674

Vulnerability Analysis

This vulnerability stems from insecure deserialization of Java objects within the Elasticsearch Hadoop connector. When processing Hadoop or Spark configuration properties, the application fails to properly validate and sanitize serialized Java objects before deserialization. An authenticated user who can modify these configuration properties can inject malicious serialized objects that, when deserialized, execute arbitrary code in the context of the application.

Java deserialization vulnerabilities are particularly dangerous because they can allow attackers to instantiate arbitrary objects and invoke methods during the deserialization process. The attack requires local access and low privileges, but does not require user interaction, making it exploitable by any authenticated user with access to modify configuration properties.

Root Cause

The root cause is insufficient validation of serialized Java objects from Hadoop or Spark configuration properties. The Elasticsearch Hadoop connector deserializes configuration data without proper type checking or allowlist filtering of acceptable classes. This allows an attacker to craft malicious serialized objects using known gadget chains that execute arbitrary code when deserialized.

Attack Vector

The attack vector is local, requiring authenticated access to the system. An attacker must be able to modify Hadoop or Spark configuration properties that are subsequently processed by the vulnerable Elasticsearch Hadoop connector. The exploitation flow involves:

  1. An authenticated user gains access to modify Hadoop/Spark configuration properties
  2. The attacker injects a malicious serialized Java object into a configuration property
  3. When the Elasticsearch Hadoop connector processes the configuration, it deserializes the malicious object
  4. The deserialization process triggers execution of attacker-controlled code

The vulnerability manifests during configuration processing in the Elasticsearch Hadoop connector. Attackers can leverage common Java deserialization gadget chains to achieve code execution. For technical details and specific affected code paths, refer to the Elastic Security Update ESA-2023-28.

Detection Methods for CVE-2023-46674

Indicators of Compromise

  • Unusual or unexpected serialized Java objects appearing in Hadoop or Spark configuration properties
  • Suspicious process spawning from Elasticsearch Hadoop connector processes
  • Anomalous configuration changes made by authenticated users
  • Evidence of known Java deserialization gadget chains in configuration data

Detection Strategies

  • Monitor for modifications to Hadoop and Spark configuration files and properties by authenticated users
  • Implement file integrity monitoring on configuration directories
  • Deploy application-level logging to capture deserialization events and configuration processing
  • Use runtime application self-protection (RASP) solutions to detect deserialization attacks

Monitoring Recommendations

  • Enable detailed audit logging for configuration changes in Hadoop and Spark environments
  • Monitor process creation events originating from Elasticsearch Hadoop connector components
  • Alert on unexpected network connections or file system access from Elasticsearch processes
  • Review authentication logs for unusual access patterns to configuration management interfaces

How to Mitigate CVE-2023-46674

Immediate Actions Required

  • Upgrade Elasticsearch Hadoop to version 7.17.11 or later for the 7.x branch
  • Upgrade Elasticsearch Hadoop to version 8.9.0 or later for the 8.x branch
  • Review and restrict access to users who can modify Hadoop and Spark configuration properties
  • Audit recent configuration changes for any suspicious serialized data

Patch Information

Elastic has released security updates to address this vulnerability. Users should upgrade to Elasticsearch Hadoop version 7.17.11 or 8.9.0 or later, depending on their deployment branch. The security advisory is available at Elastic Security Update ESA-2023-28.

Workarounds

  • Implement strict access controls to limit which users can modify Hadoop and Spark configuration properties
  • Use network segmentation to isolate Elasticsearch Hadoop components from untrusted users
  • Deploy application allowlisting to prevent execution of unauthorized code
  • Consider implementing Java deserialization filters if available in your JVM version
bash
# Verify Elasticsearch Hadoop version to confirm patched version is installed
# Check for 7.17.11+ or 8.9.0+ versions
hadoop classpath | grep elasticsearch-hadoop

# Review configuration directory permissions
ls -la /etc/hadoop/conf/
ls -la /etc/spark/conf/

# Restrict configuration file permissions to authorized users only
chmod 640 /etc/hadoop/conf/*.xml
chmod 640 /etc/spark/conf/*.conf

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechElastic Elasticsearch

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/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
  • Elastic Security Update ESA-2023-28
  • Related CVEs
  • CVE-2021-37937: Elasticsearch Privilege Escalation Flaw

  • CVE-2020-7014: Elasticsearch Privilege Escalation Flaw

  • CVE-2024-23444: Elasticsearch Information Disclosure Flaw

  • CVE-2024-43709: Elastic Elasticsearch DOS Vulnerability
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