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

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: 2025-06-10 Last update: 2025-07-11 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-27819 is rated Moderate Risk (57/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.90%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-27819

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-06 0.35% 0.90% +0.55%
2 2026-03-27 0.36% 0.35% -0.01%
3 2026-03-06 0.36%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-27819

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2025-27819

GitHub Security Advisory for CVE-2025-27819

GHSA-mcwh-c9pg-xw43 · Severity: high · Ecosystem: maven — Apache Kafka Deserialization of Untrusted Data vulnerability

OS Trackers for CVE-2025-27819

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2025-27819

Affected software / configurations for CVE-2025-27819

Vendor Product Version Raw CPE
apache kafka >= 2.0.0, <= 3.3.2 cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:*

References for CVE-2025-27819

URL Tags
https://kafka.apache.org/cve-list Vendor Advisory
cvelogic Threat Intelligence