CVE-2026-59865
CRITICALKiota: Command injection via x-ms-kiota-info dependencyInstallCommand surfaced by `kiota info`
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/microsoft/kiota/pull/7883
X_Refsource_Misc x_refsource_misc
https://github.com/microsoft/kiota/commit/e1d6d76c6eecbe50785429166faaf8c831e036c6
X_Refsource_Misc x_refsource_misc
https://github.com/microsoft/kiota/releases/tag/v1.32.5
X_Refsource_Confirm x_refsource_confirm
https://github.com/microsoft/kiota/security/advisories/GHSA-hq9q-27g5-qwpj
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