Skip to content
OpenAdvisories
High · 7.0 CVE-2026-59863 EUVD-2026-44929GHSA-4rj6-vrwv-wr8m

Kiota: Workspace-config poisoning: out-of-repo file write + generation-time SSRF

Published Jul 16, 2026 · Updated Aug 17, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
microsoft kiota >= 1.30.0, < 1.31.1, < 1.29.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Microsoft.OpenApi.Kiota >= 1.30.0, < 1.32.5 1.32.5 GHSA-4rj6-vrwv-wr8m
NuGet Microsoft.OpenApi.Kiota < 1.29.1 1.29.1 GHSA-4rj6-vrwv-wr8m
NuGet Microsoft.OpenApi.Kiota.Builder >= 1.30.0, < 1.32.5 1.32.5 GHSA-4rj6-vrwv-wr8m
NuGet Microsoft.OpenApi.Kiota.Builder < 1.29.1 1.29.1 GHSA-4rj6-vrwv-wr8m

References