CVE-2026-59865
published critical CVSS 4.0 · 9.3Kiota: Command injection via x-ms-kiota-info dependencyInstallCommand surfaced by `kiota info`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| microsoft | — | kiota>= 1.30.0, < 1.31.1 · < 1.29.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| microsoft | kiota | >= 1.30.0, < 1.31.1 (affected)< 1.29.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere
References
4Provider assertions
2GitHub_M · cna
Kiota: Command injection via x-ms-kiota-info dependencyInstallCommand surfaced by `kiota info`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5bb3d7b5dad79097ea3aeb7e737fcafac5765eb8513dae81172186c0032edfa3
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record