CVE-2024-27309: Apache Kafka: Potential incorrect access control during migration from ZK mode to KRaft mode
Vulnerability summary
CVE-2024-27309 is a high (CVSS 7.4) Incorrect Authorization vulnerability in apache software foundation apache kafka. EPSS estimates a 1.11% chance of exploitation in the next 30 days, higher than 67.1% of scored vulnerabilities.
Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 12-04-2024PublishedVulnerability first disclosed.
- 30-07-2025Last modifiedVulnerability information updated.
Description
While an Apache Kafka cluster is being migrated from ZooKeeper mode to KRaft mode, in some cases ACLs will not be correctly enforced. Two preconditions are needed to trigger the bug: 1. The administrator decides to remove an ACL 2. The resource associated with the removed ACL continues to have two or more other ACLs associated with it after the removal. When those two preconditions are met, Kafka will treat the resource as if it had only one ACL associated with it after the removal, rather than the two or more that would be correct. The incorrect condition is cleared by removing all brokers in ZK mode, or by adding a new ACL to the affected resource. Once the migration is completed, there is no metadata loss (the ACLs all remain). The full impact depends on the ACLs in use. If only ALLOW ACLs were configured during the migration, the impact would be limited to availability impact. if DENY ACLs were configured, the impact could include confidentiality and integrity impact depending on the ACLs configured, as the DENY ACLs might be ignored due to this vulnerability during the migration period.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · MavenEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
- NVDNIST7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
1.11%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 1.13% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- kafka≥ 3.5.0, ≤ 3.6.1
Apache software foundation1 product
- apache kafka≥ 3.5.0, ≤ 3.5.2 | ≥ 3.6.0, ≤ 3.6.1
Org.apache.kafka1 product
- kafka-metadata≥ 3.5.0, < 3.6.2
Ubuntu1 product
- kafkaAll versions (No fix recorded)
4 vendors · 4 products
References
9 links- security.netapp.com/advisory/ntap-20240705-0002/Third Party Advisory
- github.com/apache/kafkaPACKAGE