Skip to content
OpenAdvisories
Critical · 9.3 CVE-2026-59865 EUVD-2026-44933GHSA-hq9q-27g5-qwpj

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

Published Jul 16, 2026 · Updated Aug 17, 2026 · Assigned by GitHub_M

Description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 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.29.1 and 1.32.5.

Affected products

VendorProductAffectedFixed
microsoft kiota >= 1.30.0, < 1.31.1, < 1.29.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Microsoft.OpenApi.Kiota >= 1.30.0, < 1.32.5 1.32.5 GHSA-hq9q-27g5-qwpj
NuGet Microsoft.OpenApi.Kiota < 1.29.1 1.29.1 GHSA-hq9q-27g5-qwpj
NuGet Microsoft.OpenApi.Kiota.Builder >= 1.30.0, < 1.32.5 1.32.5 GHSA-hq9q-27g5-qwpj
NuGet Microsoft.OpenApi.Kiota.Builder < 1.29.1 1.29.1 GHSA-hq9q-27g5-qwpj

References