Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
Kiota code generator may execute malicious install commands
published 3 days ago
Summary
Versions of Kiota before 1.29.1 (and before 1.32.5 for the VS Code extension) could read a command from an OpenAPI description and present it as a recommended install step. If that command is run, an attacker could execute arbitrary code. Update Kiota to the latest version, and ensure any Docker images such as apicurio-registry-ui 3.2 or 3.3 that include Kiota are also upgraded.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Debian:13 | docker hardened images | apicurio-registry-ui-3.2 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | apicurio-registry-ui-3.3 | All versions |
Original advisory text
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.5, `kiota info` read…
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.
References
- https://scout.docker.com/v/DHI-kozy-o5yz-czbv-m3ni Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-59865 Vendor Advisory
- https://github.com/advisories/GHSA-hq9q-27g5-qwpj Vendor Advisory
- https://github.com/microsoft/kiota/security/advisories/GHSA-hq9q-27g5-qwpj Vendor Advisory
- https://github.com/microsoft/kiota/pull/7883 Patch
- https://github.com/microsoft/kiota/commit/e1d6d76c6eecbe50785429166faaf8c831e036... Patch
- https://github.com/microsoft/kiota/releases/tag/v1.32.5 URL
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Timeline
Published18 Nov 2026
Updated18 Nov 2026
First seen18 Nov 2026
Sources
DHI-kozy-o5yz-czbv-m3ni · OSV
Track software like this
Free during beta