Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-qepc-2rn8-hufs
Vulnerability ID VCID-qepc-2rn8-hufs
Aliases CVE-2025-27818
GHSA-76qp-h5mr-frr4
Summary Apache Kafka Deserialization of Untrusted Data vulnerability 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.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
cvssv3 8.0 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-27818.json
epss 0.00278 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00278 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.0041 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.0041 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
epss 0.00503 https://api.first.org/data/v1/epss?cve=CVE-2025-27818
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-76qp-h5mr-frr4
cvssv3.1 8.8 https://github.com/apache/kafka
generic_textual HIGH https://github.com/apache/kafka
cvssv3.1 8.8 https://kafka.apache.org/cve-list
generic_textual HIGH https://kafka.apache.org/cve-list
ssvc Track https://kafka.apache.org/cve-list
cvssv3.1 8.8 https://nvd.nist.gov/vuln/detail/CVE-2025-27818
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2025-27818
cvssv3.1 8.8 http://www.openwall.com/lists/oss-security/2025/06/09/2
generic_textual HIGH http://www.openwall.com/lists/oss-security/2025/06/09/2
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-27818.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/apache/kafka
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://kafka.apache.org/cve-list
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-10T14:18:28Z/ Found at https://kafka.apache.org/cve-list
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2025-27818
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at http://www.openwall.com/lists/oss-security/2025/06/09/2
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.51188
EPSS Score 0.00278
Published At April 2, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-04-01T12:56:55.447516+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-76qp-h5mr-frr4/GHSA-76qp-h5mr-frr4.json 38.0.0