High severityNVD Advisory· Published Jul 16, 2026· Updated Jul 16, 2026
Kiota: Workspace-config poisoning: out-of-repo file write + generation-time SSRF
CVE-2026-59863
Description
Kiota is an OpenAPI based HTTP Client code generator. Prior to 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.32.5.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Microsoft.OpenApi.KiotaNuGet | < 1.32.5 | 1.32.5 |
Microsoft.OpenApi.Kiota.BuilderNuGet | < 1.32.5 | 1.32.5 |
Affected products
1- Range: <1.32.5
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-4rj6-vrwv-wr8mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-59863ghsaADVISORY
- github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9ghsax_refsource_MISCWEB
- github.com/microsoft/kiota/pull/7885ghsax_refsource_MISCWEB
- github.com/microsoft/kiota/releases/tag/v1.32.5ghsax_refsource_MISCWEB
- github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8mghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.