{"id":"CVE-2026-59863","published":"2026-07-16T14:42:02Z","modified":"2026-08-17T15:02:40Z","title":"Kiota: Workspace-config poisoning: out-of-repo file write + generation-time SSRF","vendor":"Microsoft","product":"kiota","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01374,"percentile":0.72692,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/microsoft/kiota/pull/7885","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/kiota/releases/tag/v1.32.5","tags":["x_refsource_MISC"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":14.54},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"microsoft","product":"kiota","versions":[">= 1.30.0, < 1.31.1","< 1.29.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-16T15:22:52.387399Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Microsoft.OpenApi.Kiota","vulnerableRanges":[">=1.30.0, <1.32.5","<1.29.1"],"patched":["1.32.5","1.29.1"],"from":["GHSA-4rj6-vrwv-wr8m"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.OpenApi.Kiota.Builder","vulnerableRanges":[">=1.30.0, <1.32.5","<1.29.1"],"patched":["1.32.5","1.29.1"],"from":["GHSA-4rj6-vrwv-wr8m"],"provenance":"source"}],"summary":{"text":"Kiota, Microsoft's OpenAPI-based HTTP client code generator, fails to validate the per-client and per-plugin outputPath values in a workspace configuration file (.kiota/workspace.json) before generating code, so it honors paths that point outside the workspace root. An attacker who can get a poisoned workspace configuration into a repository or pull request can cause generated client files to be written to arbitrary locations on a developer or CI machine, provided a user takes action such as running kiota client generate or kiota plugin generate against that workspace.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:21Z"},"euvd":{"id":"EUVD-2026-44929","exploited":false,"provenance":"source"}}