CVE-2026-42316

Source
https://cve.org/CVERecord?id=CVE-2026-42316
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42316.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42316
Aliases
  • GHSA-c9mr-mqvh-6wgj
Published
2026-05-11T16:41:07.091Z
Modified
2026-08-07T11:49:54.232978890Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C CVSS Calculator
Summary
KQL injection via kusto.tables.topics.mapping in kafka-sink-azure-kusto
Details

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., FETCHTABLECOMMAND.formatted(table) → "<table> | count", FETCHTABLEMAPPING_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.

Database specific
{
    "cwe_ids": [
        "CWE-943"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42316.json"
}
References

Affected packages

Git / github.com/azure/kafka-sink-azure-kusto

Affected ranges

Type
GIT
Repo
https://github.com/azure/kafka-sink-azure-kusto
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.2.3"
        }
    ]
}

Affected versions

0.*
0.3.4
v0.*
v0.3.0
v0.3.2
v0.3.3
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v2.*
v2.0.0
v2.1.0
v2.2.0
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.0.6
v3.0.7
v3.0.8
v3.0.9
v4.*
v4.0.0
v4.0.1
v4.0.10
v4.0.2
v4.0.3
v4.0.4
v4.0.5
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.1.4
v5.*
v5.0.0
v5.1.0
v5.1.1
v5.1.2
v5.1.3
v5.1.5
v5.1.6
v5.2.0
v5.2.1
v5.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42316.json"