WaratekVRT Sign in

CVE-2025-27819 Apache Kafka

Affected softwareApache Kafka
Severity7.5 High CVSS 3.1
Fixed in3.4.0
WeaknessDeserialization of untrusted data (CWE-502)
Published10 Jun 2025
Updated17 Jun 2026

Description

In CVE-2023-25194, we announced the RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration in Kafka Connect API. But not only Kafka Connect API is vulnerable to this attack, the Apache Kafka brokers also have this vulnerability. To exploit this vulnerability, the attacker needs to be able to connect to the Kafka cluster and have the AlterConfigs permission on the cluster resource. Since Apache Kafka 3.4.0, we have added a system property ("-Dorg.apache.kafka.disallowed.login.modules") to disable the problematic login modules usage in SASL JAAS configuration. Also by default "com.sun.security.auth.module.JndiLoginModule" is disabled in Apache Kafka 3.4.0, and "com.sun.security.auth.module.JndiLoginModule,com.sun.security.auth.module.LdapLoginModule" is disabled by default in in Apache Kafka 3.9.1/4.0.0

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.1% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization DoS security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data. Impact is availability-only (no confidentiality or integrity loss), so this is the DoS variant of the class, not RCE — the ARMR DoS rule applies rather than the RCE rule pair.

How to mitigate CVE-2025-27819

Upgrade Apache Kafka to 3.4.0 or later. Until you can, Waratek RASP blocks exploitation with its deserialization rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2025 ↗ CPU 2025-Q3 Oracle Fusion Middleware / Third Party (Apache Kafka) (12.2.1.4.0, 14.1.2.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Fusion Middleware Third Party (Apache Kafka) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.kafka:kafka_2.10 0 none unbounded
org.apache.kafka:kafka_2.11 0 none unbounded
org.apache.kafka:kafka_2.12 0 3.4.0 unbounded
org.apache.kafka:kafka_2.13 0 3.4.0 unbounded
org.apache.kafka:kafka_2.8.0 0 none unbounded
org.apache.kafka:kafka_2.8.2 0 none unbounded
org.apache.kafka:kafka_2.9.1 0 none unbounded
org.apache.kafka:kafka_2.9.2 0 none unbounded

Products and versions

9 products, 9 version entries
SourceVendorProductSchemeAffected versions
nvd apache kafka generic ≥ 2.0.0 and ≤ 3.3.2
osv org.apache.kafka kafka_2.10 generic any version
osv org.apache.kafka kafka_2.11 generic any version
osv org.apache.kafka kafka_2.12 generic < 3.4.0
osv org.apache.kafka kafka_2.13 generic < 3.4.0
osv org.apache.kafka kafka_2.8.0 generic any version
osv org.apache.kafka kafka_2.8.2 generic any version
osv org.apache.kafka kafka_2.9.1 generic any version
osv org.apache.kafka kafka_2.9.2 generic any version

References

URLTags
https://github.com/advisories/GHSA-26f8-x7cc-wqpc ADVISORY
https://github.com/apache/kafka PACKAGE
https://kafka.apache.org/cve-list WEB

Timeline

Published2025-06-10By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.