A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-27309

CVE-2024-27309: Apache Kafka Auth Bypass Vulnerability

CVE-2024-27309 is an authentication bypass flaw in Apache Kafka during ZooKeeper to KRaft migration that causes incorrect ACL enforcement. This article covers technical details, affected versions, impact, and mitigation.

Published: May 26, 2026

CVE-2024-27309 Overview

CVE-2024-27309 is an authorization flaw in Apache Kafka that occurs during cluster migration from ZooKeeper mode to KRaft mode. Access Control Lists (ACLs) are not correctly enforced when an administrator removes an ACL from a resource that still has two or more remaining ACLs. Kafka treats the resource as if only a single ACL applies, which can cause DENY ACLs to be ignored during the migration window. The vulnerability maps to [CWE-863: Incorrect Authorization] and affects clusters actively transitioning between metadata management modes.

Critical Impact

DENY ACLs may be silently bypassed during ZooKeeper-to-KRaft migration, enabling unauthorized read or write access to Kafka topics and resources.

Affected Products

  • Apache Kafka clusters undergoing migration from ZooKeeper mode to KRaft mode
  • Kafka deployments using multiple ACLs per resource
  • NetApp products bundling vulnerable Apache Kafka versions (per NTAP-20240705-0002)

Discovery Timeline

  • 2024-04-12 - CVE-2024-27309 published to NVD
  • 2025-06-10 - Last updated in NVD database

Technical Details for CVE-2024-27309

Vulnerability Analysis

Apache Kafka supports two metadata management modes: ZooKeeper and KRaft. During migration between these modes, the ACL enforcement subsystem mishandles resource-to-ACL mappings. When an administrator removes one ACL from a resource that still has two or more ACLs attached, Kafka incorrectly evaluates the resource as having only one ACL. This produces an authorization decision that ignores the remaining policy entries.

The practical effect depends on which ACL types are configured. ALLOW-only configurations experience availability impact, since legitimate access decisions may be inconsistent. Configurations using DENY ACLs face confidentiality and integrity impact, because deny rules can be skipped and previously blocked principals can read or modify topic data.

Root Cause

The root cause is incorrect authorization logic [CWE-863] in the dual-mode metadata layer that operates while brokers run in mixed ZooKeeper and KRaft states. The ACL cache or lookup path collapses multi-entry rule sets to a single entry after a removal operation, producing an incomplete authorization view.

Attack Vector

Exploitation requires the cluster to be mid-migration and an administrator to remove an ACL from a resource with two or more remaining ACLs. An attacker with network access to the Kafka cluster who is normally blocked by a DENY ACL can then access the affected resource over standard Kafka client protocols. The condition clears once all ZooKeeper-mode brokers are removed, a new ACL is added to the affected resource, or the migration completes.

No verified public exploit code or proof-of-concept is available for this issue. See the Apache mailing list announcement for the vendor description of the conditions required to trigger the bug.

Detection Methods for CVE-2024-27309

Indicators of Compromise

  • Successful Kafka client connections from principals that should be blocked by DENY ACLs during an active ZK-to-KRaft migration window
  • Audit log entries showing produce or consume operations on resources where the principal has an explicit DENY rule
  • Unexpected kafka-acls.sh removal events followed by access from previously denied identities

Detection Strategies

  • Correlate Kafka authorizer logs (kafka.authorizer.logger) with ACL change events to detect access decisions that contradict configured DENY rules
  • Inventory clusters in mixed ZooKeeper and KRaft state and flag any ACL removal operations performed during that window
  • Compare the effective ACL set returned by kafka-acls.sh --list against the configured policy baseline before and after each removal

Monitoring Recommendations

  • Forward Kafka broker authorizer and admin audit logs to a centralized SIEM with alerting on ACL mutation events
  • Track the kafka.controller:type=KafkaController,name=ZkMigrationState metric to know exactly when each cluster is in the vulnerable transition window
  • Alert on any principal performing operations on resources where its identity appears in a DENY entry

How to Mitigate CVE-2024-27309

Immediate Actions Required

  • Upgrade Apache Kafka to a fixed release before initiating any ZooKeeper-to-KRaft migration, per the Apache advisory
  • Avoid removing ACLs from resources that have two or more associated ACLs while the cluster is in mixed mode
  • Complete any in-progress migration as quickly as possible to exit the vulnerable state
  • Review authorizer logs for the migration period and validate that no DENY-protected resources were accessed by unauthorized principals

Patch Information

Apache published the fix in the project mailing list announcement. Refer to the official Apache Kafka advisory thread for fixed version details. NetApp customers should consult NTAP-20240705-0002 for product-specific guidance.

Workarounds

  • Clear the incorrect state by removing all brokers still running in ZooKeeper mode, which forces the cluster into pure KRaft operation
  • Add a new placeholder ACL to any affected resource to force re-evaluation of the full ACL set
  • Defer ACL removal operations until after the migration to KRaft is complete; ACL metadata is preserved across the transition
bash
# Verify cluster migration state and list ACLs on a resource before changes
kafka-metadata-quorum.sh --bootstrap-server broker:9092 describe --status
kafka-acls.sh --bootstrap-server broker:9092 --list --topic sensitive-topic

# After completing migration, re-validate that DENY ACLs are enforced
kafka-acls.sh --bootstrap-server broker:9092 --list --principal User:blocked-user

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechApache Kafka

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.40%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Technical References
  • Openwall OSS Security Discussion

  • NetApp Security Advisory NTAP-20240705-0002
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2026-33557: Apache Kafka Auth Bypass Vulnerability

  • CVE-2026-33558: Apache Kafka Information Disclosure Flaw

  • CVE-2026-35554: Apache Kafka Race Condition Vulnerability

  • CVE-2024-31141: Apache Kafka Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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