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-2024-5321

CVE-2024-5321: Kubernetes Windows Log Disclosure Flaw

CVE-2024-5321 is an information disclosure flaw in Kubernetes clusters with Windows nodes, allowing unauthorized users to read or modify container logs. This article covers technical details, affected systems, and solutions.

Updated: January 22, 2026

CVE-2024-5321 Overview

A security issue was discovered in Kubernetes clusters with Windows nodes where BUILTIN\Users may be able to read container logs and NT AUTHORITY\Authenticated Users may be able to modify container logs. This Improper Access Control vulnerability (CWE-276) affects the confidentiality and integrity of container log data in Windows-based Kubernetes environments.

Critical Impact

Unauthorized users on Windows nodes can read sensitive container logs, while any authenticated user may modify logs, potentially enabling information disclosure, log tampering, and forensic evidence destruction.

Affected Products

  • Kubernetes clusters with Windows nodes
  • Windows-based kubelet deployments
  • Container runtime environments on Windows nodes

Discovery Timeline

  • July 18, 2024 - CVE-2024-5321 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-5321

Vulnerability Analysis

This vulnerability stems from incorrect default permissions (CWE-276) configured on container log files within Kubernetes Windows node deployments. The issue allows unprivileged local users belonging to the BUILTIN\Users group to read container logs that may contain sensitive application data, credentials, or internal system information. Additionally, members of the NT AUTHORITY\Authenticated Users group can modify these log files.

The local attack vector requires an attacker to have existing access to a Windows node within the Kubernetes cluster. Once access is obtained, the overly permissive file system ACLs on container logs expose sensitive data and allow tampering with audit trails.

Root Cause

The root cause is improper default permission configuration (CWE-276) on container log directories and files created by the kubelet on Windows nodes. Unlike Linux nodes where proper file permissions are enforced, Windows nodes were configured with overly permissive Access Control Lists (ACLs) that granted read access to BUILTIN\Users and modify access to NT AUTHORITY\Authenticated Users, violating the principle of least privilege.

Attack Vector

Exploitation of this vulnerability requires local access to a Windows node within the Kubernetes cluster. An attacker who has gained initial access to a Windows node—whether through a compromised user account, another vulnerability, or legitimate low-privileged access—can navigate to the container log directories and read or modify log files without requiring elevated privileges.

The attack flow involves:

  1. Attaining local access to a Windows Kubernetes node
  2. Navigating to container log storage locations
  3. Reading sensitive information from logs (BUILTIN\Users permission)
  4. Optionally modifying or deleting logs to cover tracks (NT AUTHORITY\Authenticated Users permission)

For technical details on the vulnerability mechanism, refer to the GitHub Issue Report and the Kubernetes Security Announcement.

Detection Methods for CVE-2024-5321

Indicators of Compromise

  • Unexpected access to container log directories by non-administrative users
  • Modified timestamps on container log files without corresponding application activity
  • Suspicious user account activity accessing kubelet log storage paths
  • Audit log entries showing BUILTIN\Users or unauthenticated users reading container logs

Detection Strategies

  • Enable Windows Security Event logging (Event ID 4663) to monitor file access on container log directories
  • Implement file integrity monitoring (FIM) on container log storage locations
  • Deploy SentinelOne agents on Windows Kubernetes nodes to detect anomalous file access patterns
  • Review Windows ACLs on container log directories using icacls or PowerShell commands

Monitoring Recommendations

  • Configure centralized log collection before logs can be tampered with locally
  • Establish baseline access patterns for container log directories and alert on deviations
  • Monitor for privilege escalation attempts following log access
  • Implement real-time alerting for bulk log file reads or modifications by non-service accounts

How to Mitigate CVE-2024-5321

Immediate Actions Required

  • Audit current ACLs on container log directories across all Windows Kubernetes nodes
  • Restrict file system permissions to only allow SYSTEM, Administrators, and the kubelet service account
  • Upgrade Kubernetes to a patched version as specified in the security announcement
  • Review container logs for signs of unauthorized access or tampering

Patch Information

Kubernetes has addressed this vulnerability in updated releases. Organizations should consult the Kubernetes Security Announcement for specific version information and patching guidance. Apply the latest security patches to all Windows nodes in affected clusters.

Workarounds

  • Manually correct ACLs on container log directories to remove BUILTIN\Users read access and NT AUTHORITY\Authenticated Users modify access
  • Implement a scheduled task or startup script to enforce proper permissions on log directories
  • Use network segmentation to limit which users can access Windows Kubernetes nodes
  • Deploy centralized logging solutions to capture logs before potential local tampering
powershell
# Correct container log directory permissions on Windows nodes
# Replace <log_directory_path> with actual kubelet log path
$logPath = "C:\var\log\containers"
$acl = Get-Acl $logPath
$acl.SetAccessRuleProtection($true, $false)
$adminRule = New-Object System.Security.AccessControl.FileSystemAccessRule("Administrators", "FullControl", "ContainerInherit,ObjectInherit", "None", "Allow")
$systemRule = New-Object System.Security.AccessControl.FileSystemAccessRule("SYSTEM", "FullControl", "ContainerInherit,ObjectInherit", "None", "Allow")
$acl.SetAccessRule($adminRule)
$acl.SetAccessRule($systemRule)
Set-Acl -Path $logPath -AclObject $acl

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 Score6.1

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-276
  • Technical References
  • GitHub Issue Report

  • Kubernetes Security Announcement

  • OpenWall OSS Security List Post
  • Related CVEs
  • CVE-2025-9708: Kubernetes C# Client Certificate Flaw

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

  • 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