CVEBrief

Home / Apache Software Foundation / Apache Kafka / CVE-2025-27818

CVE-2025-27818: is it exploited, and which versions of Apache Software Foundation Apache Kafka are affected and fixed?

CVE-2025-27818 is a deserialization of untrusted data vulnerability in Apache Software Foundation Apache Kafka. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: org.apache.kafka:kafka_2.11 through 2.4.1, org.apache.kafka:kafka_2.12 from 2.3.0 before 3.9.1 and org.apache.kafka:kafka_2.13 from 2.4.0 before 3.9.1 (GitHub advisory GHSA-76qp-h5mr-frr4). Fixed in 3.9.1 (GitHub advisory GHSA-76qp-h5mr-frr4). Severity: High (8.8, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:19 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
org.apache.kafka:kafka_2.11 through 2.4.1, org.apache.kafka:kafka_2.12 from 2.3.0 before 3.9.1 and org.apache.kafka:kafka_2.13 from 2.4.0 before 3.9.1
GitHub advisory GHSA-76qp-h5mr-frr4
Fixed in
3.9.1
GitHub advisory GHSA-76qp-h5mr-frr4
Severity
High 8.8
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
1.15% in 30 days
higher than 68% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-27818?

Apache Kafka: Possible RCE attack via SASL JAAS LdapLoginModule configuration

A possible security vulnerability has been identified in Apache Kafka. This requires access to a alterConfig to the cluster resource, or Kafka Connect worker, and the ability to create/modify connectors on it with an arbitrary Kafka client SASL JAAS config and a SASL-based security protocol, which has been possible on Kafka clusters since Apache Kafka 2.0.0 (Kafka Connect 2.3.0). When configuring the broker via config file or AlterConfig command, or connector via the Kafka Kafka Connect REST API, an authenticated operator can set the `sasl.jaas.config` property for any of the connector's Kafka clients to "com.sun.security.auth.module.LdapLoginModule", which can be done via the `producer.override.sasl.jaas.config`, `consumer.override.sasl.jaas.config`, or `admin.override.sasl.jaas.config` properties. This will allow the server to connect to the attacker's LDAP server and deserialize the LDAP response, which the attacker can use to execute java deserialization gadget chains on the Kafka connect server. Attacker can cause unrestricted deserialization of untrusted data (or) RCE vulnerability when there are gadgets in the classpath. Since Apache Kafka 3.0.0, users are allowed to specify these properties in connector configurations for Kafka Connect clusters running with out-of-the-box configurations. Before Apache Kafka 3.0.0, users may not specify these properties unless the Kafka Connect cluster has been reconfigured with a connector client override policy that permits them. Since Apache Kafka 3.9.1/4.0.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,com.sun.security.auth.module.LdapLoginModule" are disabled in Apache Kafka Connect 3.9.1/4.0.0. We advise the Kafka users to validate connector configurations and only allow trusted LDAP configurations. Also examine connector dependencies for vulnerable versions and either upgrade their connectors, upgrading that specific dependency, or removing the connectors as options for remediation. Finally, in addition to leveraging the "org.apache.kafka.disallowed.login.modules" system property, Kafka Connect users can also implement their own connector client config override policy, which can be used to control which Kafka client properties can be overridden directly in a connector config and which cannot.

From the CVE record by apache, last updated February 26, 2026, 17:51 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache Kafkafrom 2.3.0 through 3.9.0

As the CVE record by apache states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.apache.kafka:kafka_2.11>= 2.3.0, <= 2.4.1none listedGHSA-76qp-h5mr-frr4
Mavenorg.apache.kafka:kafka_2.12>= 2.3.0, < 3.9.13.9.1GHSA-76qp-h5mr-frr4
Mavenorg.apache.kafka:kafka_2.13>= 2.4.0, < 3.9.13.9.1GHSA-76qp-h5mr-frr4

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 11, 2025. Summary: Apache Kafka Deserialization of Untrusted Data vulnerability.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apachekafkafrom 2.3.0 before 3.9.1application

NVD analysis (status Analyzed), last modified June 17, 2026, 09:04 UTC.

How severe is CVE-2025-27818?

ScoreVersionVectorSource
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-27818 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 21, 2025)
EPSS
1.15% probability of exploitation activity in the next 30 days, percentile 67.8 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
March 7, 2025
Published
June 10, 2025, 07:52 UTC
CVE record updated
February 26, 2026, 17:51 UTC by apache
NVD
Analyzed, last modified June 17, 2026, 09:04 UTC
Last checked
CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Apache Kafka?

Every CVE in Apache Kafka

Questions about CVE-2025-27818

Is CVE-2025-27818 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.15% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Apache Software Foundation Apache Kafka are affected by CVE-2025-27818?

org.apache.kafka:kafka_2.11 through 2.4.1, org.apache.kafka:kafka_2.12 from 2.3.0 before 3.9.1 and org.apache.kafka:kafka_2.13 from 2.4.0 before 3.9.1, per the GitHub advisory GHSA-76qp-h5mr-frr4. The tables above give every range the sources list.

Which version fixes CVE-2025-27818?

3.9.1, per the GitHub advisory GHSA-76qp-h5mr-frr4. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-27818?

High (8.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2025-27818?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.