{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-27819","id":"CVE-2025-27819","title":"Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration","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","descriptionLong":"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.\n\n\nSince 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","published":"2025-06-10T07:54:41.896Z","updated":"2026-10-28T02:30:44.714855852Z","reserved":"2025-03-07T10:02:19.848Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Apache Software Foundation Apache Kafka"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Kafka","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"3.3.2","status":"affected","version":"2.0.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.kafka:kafka_2.10","purl":"pkg:maven/org.apache.kafka/kafka_2.10","ranges":["all versions"],"fixed":[],"advisory":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","name":"org.apache.kafka:kafka_2.11","purl":"pkg:maven/org.apache.kafka/kafka_2.11","ranges":["all versions"],"fixed":[],"advisory":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","name":"org.apache.kafka:kafka_2.12","purl":"pkg:maven/org.apache.kafka/kafka_2.12","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","name":"org.apache.kafka:kafka_2.13","purl":"pkg:maven/org.apache.kafka/kafka_2.13","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","name":"org.apache.kafka:kafka_2.8.0","purl":"pkg:maven/org.apache.kafka/kafka_2.8.0","ranges":["all versions"],"fixed":[],"advisory":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","name":"org.apache.kafka:kafka_2.8.2","purl":"pkg:maven/org.apache.kafka/kafka_2.8.2","ranges":["all versions"],"fixed":[],"advisory":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","name":"org.apache.kafka:kafka_2.9.1","purl":"pkg:maven/org.apache.kafka/kafka_2.9.1","ranges":["all versions"],"fixed":[],"advisory":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","name":"org.apache.kafka:kafka_2.9.2","purl":"pkg:maven/org.apache.kafka/kafka_2.9.2","ranges":["all versions"],"fixed":[],"advisory":"GHSA-mcwh-c9pg-xw43"}],"cwes":["CWE-502"],"aliases":["BIT-kafka-2025-27819","GHSA-mcwh-c9pg-xw43"],"references":[{"url":"https://kafka.apache.org/cve-list","tags":["vendor-advisory","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27819.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27819","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-26f8-x7cc-wqpc","tags":["advisory"]},{"url":"https://github.com/apache/kafka","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01107,"epssPercentile":0.66548,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-27819","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27819","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-27819","ok":true,"note":"8 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mcwh-c9pg-xw43","ok":true,"note":"GHSA-mcwh-c9pg-xw43"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-27819","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}