Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain access to Kafka Connect configuration management
-
DeliveryCraft malicious kusto.tables.topics.mapping with KQL metacharacters
-
ExploitSubmit or update connector configuration
-
ExecutionPlugin interpolates unsanitized values into KQL command
-
PersistArbitrary KQL management command executes as service principal
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Privilege escalation in Microsoft's Azure Billing service allows unauthenticated, remote attackers to reach full comprom
Path traversal in pnpm's tarball extraction on Windows allows attackers to write files outside the intended package dire
Information disclosure in Microsoft Azure Machine Learning is caused by an incorrect authorization check (CWE-863) that,
Default password in Himmelblau Azure Entra ID suite 3.0.0-3.0.x. CVSS 10.0.
Privilege escalation in Azure Database for PostgreSQL allows an authenticated attacker with low privileges to elevate pr
Path traversal in Microsoft's Azure Logic Apps (CWE-22) lets a remote, unauthenticated attacker escape an intended restr
Default credentials in Cisco ISE cloud deployments on AWS/Azure/OCI. CVSS 9.9.
Unauthenticated remote attackers can reach a critical function inside Microsoft Azure AI Foundry that performs a privile
Deserialization of untrusted data in Azure SDK allows unauthorized code execution over a network. EPSS 0.32%.
Elevation of privilege vulnerability in Azure Front Door allows attackers to gain elevated access. Microsoft Azure cloud
Azure Front Door has an improper access control vulnerability (CVSS 9.8) allowing unauthorized attackers to elevate priv
Azure AD auth bypass in Devolutions Server 2025.3.15.0 and earlier.
EUVD-2026-29124
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB