CVE-2023-25194 Apache Kafka Connect
| Affected software | Apache Kafka Connect |
|---|---|
| Severity | 8.8 High CVSS 3.1 2 scores |
| Fixed in | 3.4.0 |
| Weakness | Deserialization of untrusted data (CWE-502) |
| Published | 7 Feb 2023 |
| Updated | 17 Jun 2026 |
Description
A possible security vulnerability has been identified in Apache Kafka Connect API.
This requires access to a 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 Connect clusters since Apache Kafka Connect 2.3.0.
When configuring the connector via the 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.JndiLoginModule", 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.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 Connect 3.4.0.
We advise the Kafka Connect users to validate connector configurations and only allow trusted JNDI 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.
Exploitation status
Exploited
Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV listed Exploitation reported in the wild. 2 citations · honeypot sightings · 5 exploits · earliest 2024-05-10.
- CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
- Indexed PoC 5 indexed Published artifacts you can open, in GitHub PoC, Metasploit, Nuclei; first seen 2023-02-09.
- EPSS 96% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.9% of all scored CVEs.
VulnCheck KEV
Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2023-25194 in VulnCheck (free account).
| Evidence | Source | Detail | Date |
|---|---|---|---|
| Honeypot sighting | VulnCheck canaries | Exploitation attempts seen on 23 days | 2025-10-17 to 2026-11-02 |
| Reported exploitation | 1665891.fs1.hubspotusercontent-na1.net | /hubfs/1665891/Threat%20reports/AquaSecurity_Kinsing_Demystified_Technical_Guide.pdf | 2024-05-10 |
| Reported exploitation | app.crowdsec.net | /cti/cve-explorer/CVE-2023-25194 | 2025-08-25 |
| Exploit reference | VulnCheck XDB 6d045985a80e | Exploit type: initial-access | 2023-05-05 |
| Exploit reference | VulnCheck XDB 1520c191871c | Exploit type: initial-access | 2023-05-15 |
| Exploit reference | VulnCheck XDB ffb10502c90f | Exploit type: initial-access | 2023-12-20 |
| Exploit reference | VulnCheck XDB 077a3b416eb7 | Exploit type: initial-access | 2023-12-28 |
| Exploit reference | VulnCheck XDB 687d3e9b5e55 | Exploit type: initial-access | 2024-04-17 |
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | ohnonoyesyes/CVE-2023-25194 | 92 | 2023-02-09 |
| GitHub PoC | A go-exploit for Apache Druid CVE-2023-25194 | 4 | 2024-04-17 |
| GitHub PoC | CVE-2023-25194 Scan | 2 | 2023-12-28 |
| Metasploit | Apache Druid JNDI Injection RCE (excellent rank) | ||
| Nuclei | Apache Druid Kafka Connect - Remote Code Execution |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Deserialization, Process
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data. |
How to mitigate CVE-2023-25194
Upgrade Apache Kafka Connect to 3.4.0 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.
CVSS
8.8 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
8.8 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 3.1 | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CISA-ADP | Secondary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update January 2024 ↗ | CPU | 2024-Q1 | Oracle Communications Applications / PSR Designer (Apache Kafka) (7.4.2.8.0) |
| Oracle Critical Patch Update July 2023 ↗ | CPU | 2023-Q3 | Oracle Communications / Core (Apache Kafka) (23.1.0) Oracle Communications Applications / Common fns (Apache Kafka) (12.0.3.0.0-12.0.6.0.0) Oracle Communications Applications / Common fns (Apache Kafka) (12.0.3.0.0-12.0.6.0.0) Oracle Communications Applications / Notification (Apache Kafka) (12.0.0.4.0-12.0.0.8.0) Oracle Financial Services Applications / Accessibility (Apache Kafka) (14.7.0.2.0, 14.7.1.0.0) Oracle Financial Services Applications / Base (Apache Kafka) (14.4-14.7) Oracle Financial Services Applications / Common (Apache Kafka) (14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0) Oracle Financial Services Applications / Common (Apache Kafka) (14.7.1.0.0) Oracle Financial Services Applications / Dashboard (Apache Kafka) (14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0) Oracle Financial Services Applications / Onboarding Batch Processes (Apache Kafka) (14.5-14.7) Oracle Financial Services Applications / Reports (Apache Kafka) (14.5-14.7) Oracle Financial Services Applications / Security (Apache Kafka) (14.7.0.2.0, 14.7.1.0.0) Oracle Fusion Middleware / Realtime Processing (Apache Kafka) (12.2.1.4.0) |
| Oracle Critical Patch Update April 2023 ↗ | CPU | 2023-Q2 | Oracle Financial Services Applications / Application (Apache Kafka) (8.0.8.1, 8.1.1.1, 8.1.2.3, 8.1.2.4) Oracle Financial Services Applications / Application (Apache Kafka) (8.0.8.1, 8.1.1.1, 8.1.2.3, 8.1.2.4) Oracle Financial Services Applications / IDM - Authentication (Apache Kafka) (22.1, 22.2) Oracle Financial Services Applications / Infrastructure (Apache Kafka) (8.0.7.0, 8.0.8.0, 8.0.9.0, 8.1.0.0, 8.1.1.0, 8.1.2.0, 8.1.2.1, 8.1.2.2) Oracle Financial Services Applications / UI General (Apache Kafka) (22.1, 22.2) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | Core (Apache Kafka) | 23.1.0 | 23.1.0 |
| Oracle Communications Applications | Common fns (Apache Kafka) | 12.0.3.0.0-12.0.6.0.0 | |
| Oracle Communications Applications | Notification (Apache Kafka) | 12.0.0.4.0-12.0.0.8.0 | |
| Oracle Communications Applications | PSR Designer (Apache Kafka) | 7.4.2.8.0 | 7.4.2.8.0 |
| Oracle Financial Services Applications | Accessibility (Apache Kafka) | 14.7.0.2.0, 14.7.1.0.0 | 14.7.0.2.0 · 14.7.1.0.0 |
| Oracle Financial Services Applications | Application (Apache Kafka) | 8.0.8.1, 8.1.1.1, 8.1.2.3, 8.1.2.4 | 8.0.8.1 · 8.1.1.1 · 8.1.2.3 · 8.1.2.4 |
| Oracle Financial Services Applications | Base (Apache Kafka) | 14.4-14.7 | |
| Oracle Financial Services Applications | Common (Apache Kafka) | 14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0 | 14.5.0.8.0 · 14.6.0.4.0 · 14.7.0.2.0 · 14.7.1.0.0 |
| Oracle Financial Services Applications | Dashboard (Apache Kafka) | 14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0 | 14.5.0.8.0 · 14.6.0.4.0 · 14.7.0.2.0 · 14.7.1.0.0 |
| Oracle Financial Services Applications | IDM - Authentication (Apache Kafka) | 22.1, 22.2 | 22.1 · 22.2 |
| Oracle Financial Services Applications | Infrastructure (Apache Kafka) | 8.0.7.0, 8.0.8.0, 8.0.9.0, 8.1.0.0, 8.1.1.0, 8.1.2.0, 8.1.2.1, 8.1.2.2 | 8.0.7.0 · 8.0.8.0 · 8.0.9.0 · 8.1.0.0 · 8.1.1.0 · 8.1.2.0 · 8.1.2.1 · 8.1.2.2 |
| Oracle Financial Services Applications | Onboarding Batch Processes (Apache Kafka) | 14.5-14.7 | |
| Oracle Financial Services Applications | Reports (Apache Kafka) | 14.5-14.7 | |
| Oracle Financial Services Applications | Security (Apache Kafka) | 14.7.0.2.0, 14.7.1.0.0 | 14.7.0.2.0 · 14.7.1.0.0 |
| Oracle Financial Services Applications | UI General (Apache Kafka) | 22.1, 22.2 | 22.1 · 22.2 |
| Oracle Fusion Middleware | Realtime Processing (Apache Kafka) | 12.2.1.4.0 | 12.2.1.4.0 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.kafka:connect |
2.3.0 | 3.4.0 |
unbounded |
Products and versions
2 products, 2 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | kafka connect | generic | ≥ 2.3.0 and ≤ 3.3.2 |
| osv | org.apache.kafka | connect | generic | ≥ 2.3.0 and < 3.4.0 |
References
Timeline
Timeline
| Published | 2023-02-07 | By the CVE Program. |
|---|---|---|
| VulnCheck KEV: earliest evidence | 2024-05-10 | Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE. |
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| VulnCheck KEV: latest evidence | 2026-11-02 | Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record. |