Skip to main content

kafka-sink-azure-kusto EUVDEUVD-2026-29124

| CVE-2026-42316 MEDIUM
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-05-11 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain access to Kafka Connect configuration management
  2. Delivery
    Craft malicious kusto.tables.topics.mapping with KQL metacharacters
  3. Exploit
    Submit or update connector configuration
  4. Execution
    Plugin interpolates unsanitized values into KQL command
  5. Persist
    Arbitrary KQL management command executes as service principal
  6. Impact
    Attacker modifies schema, mappings, or policies on target database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
Exploitation Conditions

Exploitation requires high-privilege access to the Kafka Connect cluster configuration management interface, typically accessible to platform engineers or cluster administrators. An attacker must be able to create, update, or submit a Kafka Connect connector definition that targets the kafka-sink-azure-kusto plugin and must have permission to specify or influence the kusto.tables.topics.mapping configuration parameter. The vulnerable code path is triggered during connector configuration parsing and validation, before any Kafka records are processed, so no specific Kafka data or topic content is required. The connector must be deployed in an environment where it has service principal credentials (Azure AD service principal or managed identity) with permissions to execute management commands (CREATE TABLE, ALTER MAPPING, etc.) on the target Azure Data Explorer database-this is the standard configuration for the plugin. Non-default configurations that restrict the service principal to read-only access on the database would limit the impact to schema enumeration only (confidentiality), but the default assumption is that the service principal has write permissions for ingestion. The vulnerability is not dependent on any specific Kafka version, Azure region, or Azure Data Explorer configuration; it is present in all deployments of versions prior to 5.2.3.

Impact

This vulnerability presents moderate real-world risk despite a CVSS score of 5.9, which reflects the high-privilege requirement (PR:H) that significantly constrains exploitability. The CVSS vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N indicates that exploitation requires high-privilege authentication (Kafka Connect configuration administrator rights), no user interaction, and results in confidentiality and integrity compromise without availability impact. The E:P tag suggests proof-of-concept code exists, but KEV status is not confirmed, meaning active exploitation has not been documented by CISA. The attack surface is inherently limited to environments where an insider or compromised account has explicit permissions to submit or modify Kafka Connect connector configurations-a role typically restricted to platform engineers or infrastructure teams. Organizations with strong separation of duties and least-privilege access controls will face minimal risk. However, in environments where Kafka Connect configuration management is loosely controlled or where insider threat is a concern, the high-confidence ability to compromise the connector's service principal (and thus the entire Azure Data Explorer database linked to that principal) represents significant business risk. The PR:H requirement is the primary limiting factor; this is not a vulnerability that anonymous remote users or unprivileged Kafka producers can exploit.

Exploit ScenarioDerived

An administrator or compromised service account with permissions to submit Kafka Connect connectors embeds a malicious mapping configuration such as '{"topic": "data", "db": "mydb; .drop table sensitive_table", "table": "t1", "format": "csv"}'. When the Kafka Connect plugin initializes and validates the configuration (prior to patch), it interpolates the db value directly into a KQL command without sanitization, executing '.drop table sensitive_table' in the context of the connector's Azure Data Explorer service principal. Alternatively, an attacker could inject a table name like 'table1 | .show databases' to enumerate all databases accessible to the connector's credentials, or use single quotes in the mapping field to break out of string context and inject arbitrary KQL logic. No Kafka record payloads or end-user interaction is required-the attack is purely configuration-time.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

KQL injection in kafka-sink-azure-kusto Kafka Connect plugin prior to 5.2.3 allows authenticated administrators with Kafka Connect configuration permissions to inject arbitrary KQL management commands by embedding metacharacters in the kusto.tables.topics.mapping configuration fields (db, table, mapping, format). An attacker with connector configuration privileges could enumerate or modify schemas, tamper with ingestion mappings, or alter streaming and retention policies on the target Azure Data Explorer database using the connector's service principal credentials. The vulnerability is fixed in version 5.2.3 and has not been observed in active exploitation at the time of this analysis.

RemediationAI

The primary remediation is to upgrade kafka-sink-azure-kusto to version 5.2.3 or later immediately. Microsoft released the patched version in a GitHub release (https://github.com/Azure/kafka-sink-azure-kusto/releases/tag/v5.2.3) with input validation that rejects KQL metacharacters. The fix implements regex-based validation on all configuration fields: database and table names must match ^[a-zA-Z0-9_.\-]+$ (alphanumeric, underscores, hyphens, dots), format names must match ^[a-zA-Z0-9]+$ (alphanumeric only), and mapping names follow the same pattern as identifiers. After patching, existing connector configurations with valid names will continue to function without modification. As a temporary compensating control pending upgrade, organizations should implement strict role-based access control (RBAC) on Kafka Connect configuration submission, limiting who can create or edit connector configurations to a small group of trusted administrators. Additionally, audit all current Kafka Connect connector configurations to ensure no suspicious metacharacters or command sequences exist in the kusto.tables.topics.mapping field, as an attacker may have already injected malicious commands. Monitor Azure Data Explorer audit logs for unexpected schema modifications, ingestion mapping changes, or management command execution in the period following the connector deployment.

Affected VersionsENISA

kafka-sink-azure-kusto < 5.2.3

Affected Packages

euvd kafka_sink_azure_kusto fix: 5.2.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The kafka-sink-azure-kusto plugin is a Kafka Connect sink that bridges Apache Kafka topics to Azure Data Explorer (Kusto) for data ingestion. The vulnerability stems from unsafe string interpolation of user-supplied configuration values into KQL (Kusto Query Language) commands. Specifically, the plugin used Java's String.formatted() method to directly embed the db, table, mapping, and format configuration parameters into KQL management and query commands without validation-for example, FETCH_TABLE_COMMAND.formatted(table) produces queries like 'table | count' where the table value is unvalidated. KQL, like SQL, uses metacharacters (;, |, ') as command separators and string delimiters, allowing an attacker to break out of the intended command context and inject arbitrary KQL statements. The root cause is classified as CWE-943 (Improper Neutralization of Special Elements in Data Query Logic), a variant of injection attack. The fix implements input validation using regex patterns that whitelist safe characters (alphanumeric, underscores, hyphens, dots for identifiers; alphanumeric only for format names) and reject any KQL metacharacters before interpolation.

Know when Azure gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
May 11, 2026 - 18:22 NVD
5.9 (MEDIUM) 6.5 (MEDIUM)
Patch available
May 11, 2026 - 18:17 EUVD
CVE Published
May 11, 2026 - 16:41 nvd
MEDIUM 5.9

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.

More in Azure

View all
CVE-2026-62874 CRITICAL POC
9.8 Sep 18

Privilege escalation in Microsoft's Azure Billing service allows unauthenticated, remote attackers to reach full comprom

CVE-2026-23889 MEDIUM POC
6.5 Jan 26

Path traversal in pnpm's tarball extraction on Windows allows attackers to write files outside the intended package dire

CVE-2026-68791 CRITICAL
10.0 Sep 17

Information disclosure in Microsoft Azure Machine Learning is caused by an incorrect authorization check (CWE-863) that,

CVE-2026-31957 CRITICAL
10.0 Mar 11

Default password in Himmelblau Azure Entra ID suite 3.0.0-3.0.x. CVSS 10.0.

CVE-2026-85878 CRITICAL
9.9 Sep 18

Privilege escalation in Azure Database for PostgreSQL allows an authenticated attacker with low privileges to elevate pr

CVE-2026-70200 CRITICAL
9.8 Sep 17

Path traversal in Microsoft's Azure Logic Apps (CWE-22) lets a remote, unauthenticated attacker escape an intended restr

CVE-2025-20286 CRITICAL
9.9 Jun 04

Default credentials in Cisco ISE cloud deployments on AWS/Azure/OCI. CVSS 9.9.

CVE-2026-85889 CRITICAL
9.8 Sep 17

Unauthenticated remote attackers can reach a critical function inside Microsoft Azure AI Foundry that performs a privile

CVE-2026-21531 CRITICAL
9.8 Feb 10

Deserialization of untrusted data in Azure SDK allows unauthorized code execution over a network. EPSS 0.32%.

CVE-2026-24300 CRITICAL
9.8 Feb 05

Elevation of privilege vulnerability in Azure Front Door allows attackers to gain elevated access. Microsoft Azure cloud

CVE-2026-24306 CRITICAL
9.8 Jan 22

Azure Front Door has an improper access control vulnerability (CVSS 9.8) allowing unauthorized attackers to elevate priv

CVE-2026-3224 CRITICAL
9.8 Mar 03

Azure AD auth bypass in Devolutions Server 2025.3.15.0 and earlier.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy