CVE-2026-59865: Vulnerability in Microsoft.OpenApi.Kiota

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

NuGet, CWE-94, CWE-829

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-hq9q-27g5-qwpj
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/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
Weakness
CWE-94, CWE-829
Published
16 Jul 2026
Last change
24 Oct 2026
Ecosystem
NuGet

Affected packages

Vulnerable version ranges and fixed releases

  • Microsoft.OpenApi.Kiota NuGet, Affected from 1.30.0 before 1.32.5. Fixed in 1.32.5
  • Microsoft.OpenApi.Kiota.Builder NuGet, Affected from 1.30.0 before 1.32.5. Fixed in 1.32.5

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes