{"id":"CVE-2026-59863","aliases":["GHSA-4rj6-vrwv-wr8m"],"url":"https://o3.security/vulnerability/CVE-2026-59863","summary":"Kiota: Workspace-config poisoning: out-of-repo file write + generation-time SSRF","details":"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.","published":"2026-07-16T14:42:02.337Z","modified":"2026-08-19T12:09:53.004357Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota","fixedVersion":"1.32.5"},{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota.Builder","fixedVersion":"1.32.5"},{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota","fixedVersion":"1.29.1"},{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota.Builder","fixedVersion":"1.29.1"}],"fix":{"url":"https://github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9","label":"microsoft/kiota@4049327"},"references":[{"type":"WEB","url":"https://github.com/microsoft/kiota/releases/tag/v1.32.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59863.json"},{"type":"ADVISORY","url":"https://github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59863"},{"type":"FIX","url":"https://github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9"},{"type":"FIX","url":"https://github.com/microsoft/kiota/pull/7885"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-19T12:09:53.004357Z"}}