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

CVE-2023-46672: Elastic Logstash Information Disclosure

CVE-2023-46672 is an information disclosure vulnerability in Elastic Logstash where sensitive keystore data may be exposed in logs when JSON logging is enabled. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2023-46672 Overview

An information exposure vulnerability exists in Elastic Logstash that allows sensitive information to be recorded in Logstash logs under specific circumstances. This vulnerability occurs when Logstash is configured to log in JSON format (which is not the default logging format) and sensitive data is stored in the Logstash keystore and referenced as a variable in Logstash configuration.

Critical Impact

Sensitive credentials and secrets stored in the Logstash keystore may be exposed in plaintext within log files, potentially allowing local attackers with log access to obtain confidential information.

Affected Products

  • Elastic Logstash (versions prior to 8.11.1)
  • Elastic Logstash 7.12.1 and earlier 7.x versions
  • Systems using JSON logging format with keystore variables

Discovery Timeline

  • 2023-11-15 - CVE-2023-46672 published to NVD
  • 2025-02-13 - Last updated in NVD database

Technical Details for CVE-2023-46672

Vulnerability Analysis

This vulnerability is classified as CWE-532 (Insertion of Sensitive Information into Log File). The issue arises from how Logstash handles sensitive data when JSON logging is enabled. Under normal operations, the Logstash keystore provides a secure method for storing sensitive configuration values such as passwords, API keys, and other credentials. However, when JSON logging format is configured, the application inadvertently writes these sensitive values to log files in a recoverable format.

The vulnerability requires local access to exploit, as an attacker must be able to read the Logstash log files to extract the sensitive information. While this limits the attack surface, it presents significant risk in shared hosting environments, compromised systems, or scenarios where log files are aggregated to centralized logging platforms with insufficient access controls.

Root Cause

The root cause of this vulnerability lies in the improper handling of sensitive keystore variables during JSON log serialization. When Logstash processes configuration data for JSON logging output, it fails to properly redact or mask sensitive values that are referenced from the keystore. This results in plaintext credentials being written to log files, defeating the purpose of the secure keystore storage mechanism.

Attack Vector

The attack vector is local, requiring an attacker to have read access to the Logstash log files. Exploitation scenarios include:

  1. Local User Access: A local user with read permissions to the log directory can extract sensitive credentials
  2. Log Aggregation Exposure: If logs are shipped to a centralized logging system (SIEM, Elasticsearch, etc.), unauthorized users with access to that system could view the sensitive data
  3. Backup Exposure: Log files included in system backups may expose credentials to backup administrators
  4. Post-Compromise Data Harvesting: An attacker who gains initial access to a system could harvest credentials from log files for lateral movement

The vulnerability manifests when both conditions are met: JSON logging is enabled via the command-line --log.format=json flag or equivalent configuration, and sensitive values from the keystore are referenced in the Logstash pipeline configuration.

Detection Methods for CVE-2023-46672

Indicators of Compromise

  • Presence of sensitive data (passwords, API keys, tokens) in Logstash log files in JSON format
  • Unexpected log file access patterns from unauthorized users or processes
  • Large-scale log file reads that may indicate credential harvesting
  • Evidence of log files being copied or exfiltrated from the system

Detection Strategies

  • Audit Logstash configuration files for log.format=json settings or command-line parameters
  • Implement file integrity monitoring on Logstash log directories to detect unauthorized access
  • Review access logs for the log file directories to identify suspicious read operations
  • Scan existing JSON-formatted log files for patterns matching credential formats (API keys, passwords, tokens)

Monitoring Recommendations

  • Enable audit logging for file access to Logstash log directories
  • Monitor for new processes reading Logstash log files outside of normal operational patterns
  • Implement alerts for bulk log file access that may indicate harvesting attempts
  • Review centralized logging destinations for exposed sensitive data

How to Mitigate CVE-2023-46672

Immediate Actions Required

  • Upgrade Elastic Logstash to version 8.11.1 or later immediately
  • Review existing JSON-formatted log files for exposed sensitive information and rotate any compromised credentials
  • If unable to upgrade immediately, switch from JSON logging format to the default logging format
  • Restrict file system permissions on Logstash log directories to minimize exposure

Patch Information

Elastic has released Logstash version 8.11.1 which addresses this vulnerability. The security update is documented in Elastic Security Update ESA-2023-26. Organizations should prioritize upgrading to the patched version. Additional advisories have been released by NetApp for affected NetApp products.

Workarounds

  • Disable JSON logging format by removing --log.format=json from Logstash startup parameters or configuration
  • Avoid referencing keystore variables directly in configurations when JSON logging is required
  • Implement strict file system permissions (e.g., chmod 600) on log files to limit read access
  • Use environment variables or external secret management solutions as an alternative to keystore variables until patched
bash
# Configuration example
# Disable JSON logging format in logstash.yml
log.format: plain

# Or when starting Logstash, do not use JSON format
# Instead of: bin/logstash --log.format=json
# Use default: bin/logstash

# Restrict log file permissions
chmod 600 /var/log/logstash/*.log
chown logstash:logstash /var/log/logstash/*.log

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechElastic Logstash

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-532
  • Technical References
  • Elastic Security Update ESA-2023-26

  • NetApp Security Advisory NTAP-20240125-0002

  • NetApp Security Advisory NTAP-20240229-0001
  • Vendor Resources
  • Elastic Community Security Resources
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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