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

CVE-2023-2878: Kubernetes Secrets Store CSI Driver Vulnerability

CVE-2023-2878 is an information disclosure vulnerability in Kubernetes Secrets Store CSI Driver that exposes service account tokens in logs. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 4, 2026

CVE-2023-2878 Overview

CVE-2023-2878 is an Information Leakage vulnerability affecting Kubernetes secrets-store-csi-driver in versions before 1.3.3. The vulnerability allows service account tokens to be disclosed in logs, potentially exposing sensitive authentication credentials to unauthorized users with log access.

Critical Impact

Service account tokens logged in plaintext can be harvested by attackers with log access, enabling lateral movement and privilege escalation within Kubernetes clusters.

Affected Products

  • Kubernetes secrets-store-csi-driver versions before 1.3.3

Discovery Timeline

  • June 7, 2023 - CVE-2023-2878 published to NVD
  • February 13, 2025 - Last updated in NVD database

Technical Details for CVE-2023-2878

Vulnerability Analysis

This vulnerability is classified under CWE-532 (Insertion of Sensitive Information into Log File). The Kubernetes secrets-store-csi-driver component improperly logs service account tokens during normal operations, which can expose these sensitive credentials to anyone with access to the container or pod logs.

In Kubernetes environments, service account tokens are critical authentication credentials that allow pods to interact with the Kubernetes API. When these tokens are inadvertently written to log files, they become accessible to operators, developers, or attackers who have read access to those logs. This creates a significant security gap in environments where log aggregation systems collect and store these logs centrally.

Root Cause

The root cause of this vulnerability lies in improper handling of sensitive data during logging operations within the secrets-store-csi-driver. The driver fails to properly sanitize or redact service account token values before writing log entries, resulting in plaintext credential exposure. This is a common logging anti-pattern where debug or informational log statements inadvertently capture authentication tokens, secrets, or other sensitive data structures.

Attack Vector

The attack vector is local in nature, requiring an attacker to have access to the system where logs are stored or to a centralized logging infrastructure. An attacker could exploit this vulnerability by:

  1. Gaining access to pod logs through kubectl logs commands
  2. Accessing centralized log aggregation systems (e.g., Elasticsearch, Splunk, Loki)
  3. Reading container log files directly from cluster nodes
  4. Exploiting misconfigured log shipping pipelines

Once a service account token is obtained from the logs, the attacker can impersonate the associated service account to access Kubernetes resources, potentially escalating privileges depending on the service account's RBAC permissions.

The vulnerability mechanism involves the secrets-store-csi-driver logging service account tokens during operations. Attackers with log access can extract these tokens and use them to authenticate against the Kubernetes API. For technical details, refer to the GitHub Issue #118419 and the Kubernetes Security Announcement.

Detection Methods for CVE-2023-2878

Indicators of Compromise

  • Unexpected authentication activities from service accounts that should be dormant or inactive
  • Service account token usage from IP addresses outside the expected pod network ranges
  • Anomalous API calls using service accounts associated with secrets-store-csi-driver pods
  • Evidence of log file access patterns targeting secrets-store-csi-driver container logs

Detection Strategies

  • Implement log monitoring to detect patterns matching Kubernetes service account token formats (JWT tokens beginning with eyJ)
  • Monitor Kubernetes audit logs for service account authentication from unexpected sources or times
  • Deploy runtime security monitoring to detect unusual file access to log directories
  • Use SentinelOne Singularity Cloud Security to monitor for suspicious Kubernetes API activity and credential abuse

Monitoring Recommendations

  • Enable Kubernetes audit logging and monitor for authentication events using service accounts
  • Configure alerting on centralized logging platforms for potential token exposure patterns
  • Implement log retention policies that minimize exposure window for sensitive data
  • Deploy SentinelOne agents on Kubernetes nodes to detect suspicious process behavior and lateral movement attempts

How to Mitigate CVE-2023-2878

Immediate Actions Required

  • Upgrade secrets-store-csi-driver to version 1.3.3 or later immediately
  • Rotate all service account tokens that may have been exposed in logs prior to the upgrade
  • Review log access permissions and restrict access to secrets-store-csi-driver logs
  • Audit centralized logging systems for historical token exposure

Patch Information

The vulnerability is addressed in secrets-store-csi-driver version 1.3.3 and later. Organizations should upgrade to the latest available version to receive this fix along with any subsequent security improvements. For detailed information, see the Kubernetes Security Announcement and the GitHub Issue #118419.

Workarounds

  • Restrict access to pod logs using Kubernetes RBAC policies to limit who can execute kubectl logs
  • Implement log scrubbing or redaction rules in your log aggregation pipeline to remove JWT tokens
  • Reduce log verbosity for secrets-store-csi-driver containers until patching is complete
  • Consider using short-lived tokens with projected service account token volumes to minimize exposure impact
bash
# Example: Restrict log access using RBAC
# Create a ClusterRole that denies pod log access
kubectl create clusterrole restricted-logs --verb=get,list,watch --resource=pods
# Note: To restrict log access, do NOT include 'pods/log' subresource in allowed resources
# Apply this role to users/groups who should not access sensitive logs

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechKubernetes

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.07%

  • 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
  • GitHub Issue #118419

  • Kubernetes Security Announcement

  • NetApp Security Advisory NTAP-20230814-0003
  • Related CVEs
  • CVE-2025-9708: Kubernetes C# Client Certificate Flaw

  • CVE-2024-5321: Kubernetes Windows Log Disclosure Flaw

  • CVE-2021-25746: Kubernetes Ingress-nginx Disclosure Flaw

  • CVE-2021-25745: Kubernetes Ingress-nginx Info Disclosure
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