Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42316: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in Azure kafka-sink-azure-kusto

0
Medium
VulnerabilityCVE-2026-42316cvecve-2026-42316cwe-943
Published: Mon May 11 2026 (05/11/2026, 16:41:07 UTC)
Source: CVE Database V5
Vendor/Project: Azure
Product: kafka-sink-azure-kusto

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/11/2026, 17:37:42 UTC

Technical Analysis

The kafka-sink-azure-kusto plugin for Azure Data Explorer prior to version 5.2.3 improperly neutralizes special elements in data query logic (CWE-943). Specifically, user-controlled values in the kusto.tables.topics.mapping configuration are directly interpolated into KQL management commands without sanitization. This allows an attacker with permission to edit Kafka Connect connector configurations to inject KQL metacharacters such as semicolons, pipes, or quotes, leading to arbitrary command execution in the context of the connector's service principal. This can result in unauthorized schema enumeration, modification, ingestion mapping tampering, or changes to streaming and retention policies. Exploitation requires privileged configuration access and no end-user or Kafka record interaction. The vulnerability is fixed in version 5.2.3, and the vendor provides an official patch. As this is a cloud service, remediation is managed by the vendor.

Potential Impact

Successful exploitation allows an attacker with privileged access to connector configurations to execute arbitrary KQL management commands with the permissions of the connector's service principal. This can lead to unauthorized schema enumeration and modification, tampering with ingestion mappings, and altering streaming or retention policies on the target Azure Data Explorer database. There is no impact on availability, and exploitation does not require end-user interaction or Kafka record payload manipulation.

Mitigation Recommendations

An official fix is available in kafka-sink-azure-kusto version 5.2.3. Users should upgrade to this version or later to remediate the vulnerability. Since this is a cloud-hosted service, the vendor manages remediation for the service; users should verify with the vendor advisory that their environment is updated. No additional mitigation actions are required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-26T12:37:18.170Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
official-fix
Is Cloud Service
true

Threat ID: 6a021045cbff5d86103d46b6

Added to database: 5/11/2026, 5:22:13 PM

Last enriched: 5/11/2026, 5:37:42 PM

Last updated: 5/12/2026, 3:52:52 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses