CVE-2025-27819Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration
- 7.5HighCVSS base score
- 1.1%Exploitation in 30 daysEPSS · top 33% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
Timeline
ID reserved
By apache
- 3 months later
· 3 months later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.1% · top 33% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Apache Software Foundation · Apache Kafka
- affected 2.0.0 – ≤ 3.3.2
Affected packages
Affected packages8
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.kafka:kafka_2.10GHSA-mcwh-c9pg-xw43 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.11GHSA-mcwh-c9pg-xw43 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.12GHSA-mcwh-c9pg-xw43 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.13GHSA-mcwh-c9pg-xw43 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.8.0GHSA-mcwh-c9pg-xw43 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.8.2GHSA-mcwh-c9pg-xw43 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.9.1GHSA-mcwh-c9pg-xw43 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.9.2GHSA-mcwh-c9pg-xw43 (opens in a new tab)
References
References1
- https://kafka.apache.org/cve-list (opens in a new tab)vendor-advisory
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-17641 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mcwh-c9pg-xw43 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-27819)Record last updated .