CVE-2026-59864: 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 plugin add and kiota plugin generate (with -t APIPlugin) emitted attacker-controlled static_template.file values from x-ai-adaptive-card and x-ai-capabilities into generated Microsoft 365 Copilot and Teams plugin manifests without path validation, allowing ../, absolute, rooted, UNC, Windows drive, or URI paths in...
NuGet, CWE-22, 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-4jwf-m4wg-8p66
- 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-22, 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