CVE-2026-59865
Kiota is an OpenAPI based HTTP Client code generator. Prior to …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/microsoft/kiota/commit/e1d6d76c6eecbe50785429166faaf8c831e036c6
- github.com/microsoft/kiota/pull/7883
- github.com/microsoft/kiota/releases/tag/v1.32.5
- github.com/microsoft/kiota/security/advisories/GHSA-hq9q-27g5-qwpj
- nvd.nist.gov/vuln/detail/CVE-2026-59865
- github.com/advisories/GHSA-hq9q-27g5-qwpj
- nvd.nist.gov/vuln/detail/CVE-2026-59865
- cve.org/CVERecord?id=CVE-2026-59865
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.