CVE-2026-42316 Details
Description
kafka-sink-azure-kusto Kafka Connect plugin is the official Microsoft sink for Azure Data Explorer (Kusto). Prior to 5.2.3, kafka-sink-azure-kusto did not sanitize user-controlled values inside the kusto.tables.topics.mapping configuration. The db, table, mapping, and format fields of each mapping entry were interpolated directly into KQL management/query commands via String.formatted(...) (e.g., FETCH_TABLE_COMMAND.formatted(table) → "<table> | count", FETCH_TABLE_MAPPING_COMMAND.formatted(table, format, mapping) → ".show table <table> ingestion <format> mapping '<mapping>'"). An actor able to influence the connector configuration (for example, someone with permissions to submit or edit Kafka Connect connector configs) could embed KQL metacharacters (;, |, ') to execute arbitrary management commands in the context of the connector's service principal — enabling schema enumeration/modification, ingestion-mapping tampering, or changes to streaming/retention policies on the target Azure Data Explorer database. This is a tampering vulnerability. Exploitation requires privileged access to the connector configuration; no end-user interaction or Kafka record payload is involved. This vulnerability is fixed in 5.2.3.
A tampering vulnerability has been identified in the `kafka-sink-azure-kusto` Kafka Connect plugin, which is the official Microsoft sink for Azure Data Explorer (Kusto). Prior to version 5.2.3, the plugin failed to properly sanitize user-controlled values in the `kusto.tables.topics.mapping` configuration. This oversight allowed an actor with access to the connector configuration to inject KQL metacharacters into management/query commands, potentially leading to unauthorized schema modifications, ingestion-mapping alterations, or changes in streaming and retention policies on the targeted Azure Data Explorer database.
Users can upgrade to version 5.2.3, which addresses the vulnerability by sanitizing the `kusto.tables.topics.mapping` configuration values. For those unable to upgrade, it is recommended to validate the mapping entries for KQL injection risks, restrict permissions for modifying Kafka Connect connector configurations, and scope the connector's Azure Active Directory application or managed identity to the least privilege on the target Kusto database.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 11, 2026CISA-ADP
Assessed May 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Azure/kafka-sink-azure-kusto/pull/155 | [email protected] | Issue TrackingVendor |
| https://github.com/Azure/kafka-sink-azure-kusto/releases/tag/v5.2.3 | [email protected] | Release NotesVendor |
| https://github.com/Azure/kafka-sink-azure-kusto/security/advisories/GHSA-c9mr-mqvh-6wgj | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-943 | Improper Neutralization of Special Elements in Data Query Logic | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Azure kafka-sink-azure-kusto | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | New CVE Received | [email protected] |
Volerion