CVE-2026-59863
Description
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.5, Kiota honored a poisoned .kiota/workspace.json workspace configuration without validating per-client or per-plugin outputPath values during kiota client generate and kiota plugin generate, allowing a malicious repository or pull request to use absolute paths, rooted POSIX / paths, UNC \\ or // paths, Windows drive X:\ paths, or .. traversal segments to write generated client files outside the workspace root on a developer or CI host. This issue is fixed in version 1.29.1 and 1.32.5.
How to fix
- Microsoft.OpenApi.Kiota1.32.5, 1.29.1 or later
- Microsoft.OpenApi.Kiota.Builder1.32.5, 1.29.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft.OpenApi.KiotaNuGet | 1.30.0 ≤ v < 1.32.5, v < 1.29.1 | 1.32.5, 1.29.1 |
| Microsoft.OpenApi.Kiota.BuilderNuGet | 1.30.0 ≤ v < 1.32.5, v < 1.29.1 | 1.32.5, 1.29.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.