Skip to content
Fencer Intel
critical 9.3

CVE-2026-59865 json

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

published 4mo ago modified 18d ago also EUVD-2026-44933 , GHSA-hq9q-27g5-qwpj

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
  • microsoft kiota 1.29.1, 1.32.5
  • microsoft microsoft.openapi.kiota 1.29.1, 1.32.5
  • microsoft microsoft.openapi.kiota.builder 1.29.1, 1.32.5

Is CVE-2026-59865 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
3mo ago

Exploit prediction

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

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 Intel 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.

The maintainers of microsoft/kiota published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.