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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Published: 2025-06-10T07:54:41.896Z
- Modified: 2026-09-08T08:48:23.667Z
- Also known as: GHSA-mcwh-c9pg-xw43, BIT-KAFKA-2025-27819
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Kafka: from 2.0.0 up to 3.3.2
- org.apache.kafka:kafka_2.10 (Maven): all versions
- org.apache.kafka:kafka_2.11 (Maven): all versions
- org.apache.kafka:kafka_2.12 (Maven): before 3.4.0
- org.apache.kafka:kafka_2.13 (Maven): before 3.4.0
- org.apache.kafka:kafka_2.8.0 (Maven): all versions
- org.apache.kafka:kafka_2.8.2 (Maven): all versions
- org.apache.kafka:kafka_2.9.1 (Maven): all versions
- org.apache.kafka:kafka_2.9.2 (Maven): all versions
- apache kafka: from 2.0.0 up to 3.3.2
- kafka (Bitnami): from 2.0.0 before 3.4.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

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

## Sources

- CVE List: [CVE-2025-27819](https://www.cve.org/CVERecord?id=CVE-2025-27819), CVE Terms of Use, modified 2025-06-10
- GitHub Advisory Database: [GHSA-mcwh-c9pg-xw43](https://github.com/advisories/GHSA-mcwh-c9pg-xw43), CC-BY-4.0, modified 2025-12-11
- NVD: [CVE-2025-27819](https://nvd.nist.gov/vuln/detail/CVE-2025-27819), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KAFKA-2025-27819](https://osv.dev/vulnerability/BIT-KAFKA-2025-27819), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-27819 · Whole record: https://cve.day/CVE-2025-27819.json · Rebuilt by cve.day 2026-11-25T22:58:58.996Z
