{"id":"CVE-2026-59865","revision":"6dbe1c24a7034703abd7ec9d6625ee5f","records":[{"revision":"6dbe1c24a7034703abd7ec9d6625ee5f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59865","aliases":[],"title":"Kiota: Command injection via x-ms-kiota-info dependencyInstallCommand surfaced by `kiota info`","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.","state":0,"publishedAt":"2026-07-16T14:43:40.058+00:00","modifiedAt":"2026-08-17T15:03:03.236+00:00","affected":[{"ecosystem":"Vendor product","name":"kiota","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"microsoft\",\n                    \"product\": \"kiota\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.30.0, < 1.31.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"< 1.29.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":9.3,"severity":"CRITICAL"}],"references":["https://github.com/microsoft/kiota/security/advisories/GHSA-hq9q-27g5-qwpj","https://github.com/microsoft/kiota/pull/7883","https://github.com/microsoft/kiota/commit/e1d6d76c6eecbe50785429166faaf8c831e036c6","https://github.com/microsoft/kiota/releases/tag/v1.32.5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59865","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59865","identifiers":["CVE-2026-59865"]},"retained":false,"historicalAffected":[]}],"coverage":[]}