high7.0
CVE-2026-59863
Microsoft Kiota Workspace-config poisoning: out-of-repo file write + generation-time SSRF
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | Microsoft.OpenApi.Kiota | >= 1.30.0, < 1.32.5 | 1.32.5 |
| nuget | Microsoft.OpenApi.Kiota.Builder | >= 1.30.0, < 1.32.5 | 1.32.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-4rj6-vrwv-wr8m
- https://github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8m
- https://nvd.nist.gov/vuln/detail/CVE-2026-59863
- https://github.com/microsoft/kiota/pull/7885
- https://github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9
- https://github.com/microsoft/kiota/releases/tag/v1.32.5