Skip to content
Fencer Vulns
critical 9.3

CVE-2026-59865 json

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

published 2026-07-16 3 mo ago modified 2026-10-24 15 d ago also GHSA-hq9q-27g5-qwpj , EUVD-2026-44933

cvss
9.3
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.4%
EPSS 4.4% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • nuget Microsoft.OpenApi.Kiota 1.29.1, 1.32.5
  • nuget Microsoft.OpenApi.Kiota.Builder 1.29.1, 1.32.5

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
3 mo ago

Exploit prediction

4.36% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 9.3 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
CNA 4.0 9.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
nuget Microsoft.OpenApi.Kiota
>=1.30.0, <1.32.5
<1.29.1
1.32.5
1.29.1
nuget Microsoft.OpenApi.Kiota.Builder
>=1.30.0, <1.32.5
<1.29.1
1.32.5
1.29.1

Affected products

  • microsoft kiota

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.