# CVE-2025-27819: Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-06-10 · Modified: 2025-06-10
- Aliases: GHSA-mcwh-c9pg-xw43, BIT-kafka-2025-27819
- Record: https://cvemate.com/vulnerability/CVE-2025-27819 · JSON: https://cvemate.com/vulnerability/CVE-2025-27819/json

## Description

```text
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
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.107%, percentile 66.948%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache kafka: ≥ 2.0.0, ≤ 3.3.2
- apache kafka: ≥ 2.0.0, ≤ 3.3.2
- org.apache.kafka kafka\_2.10 (Maven): All versions (No fix recorded)
- org.apache.kafka kafka\_2.11 (Maven): All versions (No fix recorded)
- org.apache.kafka kafka\_2.12 (Maven): \< 3.4.0
- org.apache.kafka kafka\_2.13 (Maven): \< 3.4.0
- org.apache.kafka kafka\_2.8.0 (Maven): All versions (No fix recorded)
- org.apache.kafka kafka\_2.8.2 (Maven): All versions (No fix recorded)
- org.apache.kafka kafka\_2.9.1 (Maven): All versions (No fix recorded)
- org.apache.kafka kafka\_2.9.2 (Maven): All versions (No fix recorded)

## References

- <https://kafka.apache.org/cve-list>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27819>
- <https://github.com/advisories/GHSA-26f8-x7cc-wqpc>
- <https://github.com/apache/kafka>

---

Data as of 2026-12-05T06:22:34.068Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
