CVE-2026-59865

CRITICAL

Kiota: Command injection via x-ms-kiota-info dependencyInstallCommand surfaced by `kiota info`

Title source: cna
STIX 2.1

Description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.5, `kiota info` read x-ms-kiota-info.languagesInformation.<language>.dependencyInstallCommand plus dependency name and version values from an OpenAPI description and presented the spec-supplied command as Kiota's recommended install command, allowing an attacker-controlled or compromised description to cause command injection when the suggested command was run manually or through the Kiota VS Code extension's kiota info --json dependency-install flow. This issue is fixed in version 1.32.5.

Scores

CVSS v4 9.3
EPSS 0.0319
EPSS Percentile 86.8%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-829 CWE-94
Status published
Products (3)
microsoft/kiota < 1.32.5
nuget/Microsoft.OpenApi.Kiota 0 - 1.32.5NuGet
nuget/Microsoft.OpenApi.Kiota.Builder 0 - 1.32.5NuGet
Published Jul 16, 2026
Tracked Since Jul 16, 2026