CVE-2025-27819 Details
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
A vulnerability exists in Apache Kafka brokers versions 2.0.0 through 3.3.2, allowing for remote code execution (RCE) or denial-of-service (DoS) attacks. This issue arises from the use of the JndiLoginModule in SASL JAAS configuration, which can be exploited by an authenticated user with the AlterConfigs permission. Since Apache Kafka 3.4.0, a system property has been introduced to disable problematic login modules, and certain JNDI-related modules are disabled by default in versions 3.9.1 and 4.0.0.
Users are advised to upgrade to Apache Kafka versions 3.9.1 or 4.0.0. For Kafka Connect users, it's recommended to validate connector configurations, examine dependencies for vulnerabilities, and implement a connector client config override policy if necessary.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://kafka.apache.org/cve-list | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache kafka | >= 2.0.0, <= 3.3.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 11, 2025 | Initial Analysis | [email protected] |
| Jun 10, 2025 | CVE Modified | CISA-ADP |
| Jun 10, 2025 | New CVE Received | [email protected] |