CVE-2025-27819
published high CVSS 3.1 · 7.5Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Kafka2.0.0 through 3.3.2 · Other versions: unaffected | Affected | Not stated | apache |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Kafka | 2.0.0 through 3.3.2 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
1Provider assertions
2apache · cna
Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4ad0e64de5bef08d650866719f49b9f27e4f904053eb3c3cb4130b61350d8114
- Ingested
- 23 Sep 2026, 08:42:52 UTC
- Source record
- Official CVE record