Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-27819

HIGH 7.5EPSS 73%

Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration

Also known as BIT-kafka-2025-27819, GHSA-mcwh-c9pg-xw43

Mitigation

  • Upgrade org.apache.kafka:kafka_2.12 to 3.4.0 or later.
  • Upgrade org.apache.kafka:kafka_2.13 to 3.4.0 or later.

Who should check

  • Projects that depend on Maven package org.apache.kafka:kafka_2.10 (0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.8.0, 0.8.1, 0.8.1.1)
  • Projects that depend on Maven package org.apache.kafka:kafka_2.11 (0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.11.0.0, 0.11.0.1, 0.11.0.2)
  • Projects that depend on Maven package org.apache.kafka:kafka_2.12 (< 3.4.0)
  • Projects that depend on Maven package org.apache.kafka:kafka_2.13 (< 3.4.0)
  • Projects that depend on Maven package org.apache.kafka:kafka_2.8.0 (0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1)
  • Projects that depend on Maven package org.apache.kafka:kafka_2.8.2 (0.8.0, 0.8.0-beta1, 0.8.1)
  • Projects that depend on Maven package org.apache.kafka:kafka_2.9.1 (0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1, 0.8.2-beta, 0.8.2.0, 0.8.2.1, 0.8.2.2)
  • Projects that depend on Maven package org.apache.kafka:kafka_2.9.2 (0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1, 0.8.2-beta, 0.8.2.0, 0.8.2.1, 0.8.2.2)

Vulnerability facts

Affected
org.apache.kafka:kafka_2.10 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.8.0, 0.8.1, 0.8.1.1; org.apache.kafka:kafka_2.11 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.11.0.0, 0.11.0.1, 0.11.0.2; org.apache.kafka:kafka_2.12 < 3.4.0; org.apache.kafka:kafka_2.13 < 3.4.0; org.apache.kafka:kafka_2.8.0 0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1; org.apache.kafka:kafka_2.8.2 0.8.0, 0.8.0-beta1, 0.8.1; org.apache.kafka:kafka_2.9.1 0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1, 0.8.2-beta, 0.8.2.0, 0.8.2.1, 0.8.2.2; org.apache.kafka:kafka_2.9.2 0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1, 0.8.2-beta, 0.8.2.0, 0.8.2.1, 0.8.2.2
Fixed in
3.4.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
1.39% chance of exploitation in 30 days (percentile 73, 2026-11-26)
CWE
CWE-502
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.apache.kafka:kafka_2.100.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.8.0, 0.8.1, 0.8.1.1—osv
Maven org.apache.kafka:kafka_2.110.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.11.0.0, 0.11.0.1, 0.11.0.2—osv
Maven org.apache.kafka:kafka_2.12< 3.4.03.4.0osv
Maven org.apache.kafka:kafka_2.13< 3.4.03.4.0osv
Maven org.apache.kafka:kafka_2.8.00.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1—osv
Maven org.apache.kafka:kafka_2.8.20.8.0, 0.8.0-beta1, 0.8.1—osv
Maven org.apache.kafka:kafka_2.9.10.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1, 0.8.2-beta, 0.8.2.0, 0.8.2.1, 0.8.2.2—osv
Maven org.apache.kafka:kafka_2.9.20.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1, 0.8.2-beta, 0.8.2.0, 0.8.2.1, 0.8.2.2—osv
Apache Software Foundation Apache Kafka>= 2.0.0, <= 3.3.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-27819. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27819.md
Affected: org.apache.kafka:kafka_2.10 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.8.0, 0.8.1, 0.8.1.1; org.apache.kafka:kafka_2.11 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.11.0.0, 0.11.0.1, 0.11.0.2; org.apache.kafka:kafka_2.12 < 3.4.0; org.apache.ka…
Fixed in: 3.4.0

Steps:
1. Search this machine and project for org.apache.kafka:kafka_2.10 (Maven), org.apache.kafka:kafka_2.11 (Maven), org.apache.kafka:kafka_2.12 (Maven), org.apache.kafka:kafka_2.13 (Maven), org.apache.kafka:kafka_2.8.0 (Maven), org.apache.kafka:kafka_2.8.2 (Maven): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-27819 being exploited?

There is no confirmed exploitation: CVE-2025-27819 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.39% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-27819?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-27819?

org.apache.kafka:kafka_2.10 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.8.0, 0.8.1, 0.8.1.1; org.apache.kafka:kafka_2.11 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.11.0.0, 0.11.0.1, 0.11.0.2; org.apache.kafka:kafka_2.12 < 3.4.0; org.apache.kafka:kafka_2.13 < 3.4.0; org.apache.kafka:kafka_2.8.0 0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1; org.apache.kafka:kafka_2.8.2 0.8.0, 0.8.0-beta1, 0.8.1; org.apache.kafka:kafka_2.9.1 0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1, 0.8.2-beta, 0.8.2.0, 0.8.2.1, 0.8.2.2; org.apache.kafka:kafka_2.9.2 0.8.0, 0.8.0-beta1, 0.8.1, 0.8.1.1, 0.8.2-beta, 0.8.2.0, 0.8.2.1, 0.8.2.2.

Is there a fix for CVE-2025-27819?

Yes. Fixed in 3.4.0. Upgrade org.apache.kafka:kafka_2.12 to 3.4.0 or later. Upgrade org.apache.kafka:kafka_2.13 to 3.4.0 or later.

How do I check if I'm affected by CVE-2025-27819?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors