Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-27818

8.8 · HIGH
Published Jun 10, 2025 apache CWE-502 EPSS 0.97% (59th pctl)

Overview

CVE-2025-27818 is a high-severity vulnerability affecting apache kafka. It was published on June 10, 2025 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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

Remediation

Check the references section for vendor advisories and patches from apache. Update kafka to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
apache kafka >= 2.3.0, < 3.9.1 Affected

Frequently Asked Questions

What is CVE-2025-27818?

CVE-2025-27818 is a high-severity vulnerability affecting apache kafka. It was published on June 10, 2025 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2025-27818?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-27818?

Check the references section for vendor advisories and patches from apache. Update kafka to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-27818?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-27818 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.