Security mailing lists by PureSourceCode

CVE-2025-27819

HIGH 7.5CVSS 3.1

Apache Kafka Deserialization of Untrusted Data vulnerability

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

Published
10 Jun 2025
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-502
Also known as
BIT-kafka-2025-27819GHSA-mcwh-c9pg-xw43
Sources
NVDJSONOSV GHSA-mcwh-c9pg-xw43JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache kafka
cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:*
>= 2.0.0, <= 3.3.2
OSV Maven org.apache.kafka:kafka_2.10 all versions
OSV Maven org.apache.kafka:kafka_2.11 all versions
OSV Maven org.apache.kafka:kafka_2.12 < 3.4.0 3.4.0
OSV Maven org.apache.kafka:kafka_2.13 < 3.4.0 3.4.0
OSV Maven org.apache.kafka:kafka_2.8.0 all versions
OSV Maven org.apache.kafka:kafka_2.8.2 all versions
OSV Maven org.apache.kafka:kafka_2.9.1 all versions
OSV Maven org.apache.kafka:kafka_2.9.2 all versions

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 10 Jun 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.