CVE-2026-59863: microsoft kiota · Path Traversal
Affects microsoft kiotaSource CVE Database V5
Not known to be exploited · CVSS 7.0 High : upgrade to 1.31.1 or 1.29.1 soon.
Data as of 28 Nov 2026, 18:37 UTC
- EPSS
- 1.3% chance of exploitation in 30 days – higher than 72% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.31.1, 1.29.1, 1.32.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade kiota to 1.31.1 or 1.29.1; Microsoft.OpenApi.Kiota and Microsoft.OpenApi.Kiota.Builder to 1.32.5; Microsoft.OpenApi.Kiota and Microsoft.OpenApi.Kiota.Builder to 1.29.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| microsoftkiota | Affected
| Fixed in
|
| microsoftkiota | Affected
| Fixed in
|
NuGetMicrosoft.OpenApi.Kiotapkg:nuget/Microsoft.OpenApi.KiotaOther threats | Affected
| Fixed in
|
NuGetMicrosoft.OpenApi.Kiotapkg:nuget/Microsoft.OpenApi.KiotaOther threats | Affected
| Fixed in
|
NuGetMicrosoft.OpenApi.Kiota.Builderpkg:nuget/Microsoft.OpenApi.Kiota.BuilderOther threats | Affected
| Fixed in
|
NuGetMicrosoft.OpenApi.Kiota.Builderpkg:nuget/Microsoft.OpenApi.Kiota.BuilderOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Microsoft Kiota version 1.29.1, 1.32.5, or later. These versions include validation that restricts the 'outputPath' configuration to relative paths within the workspace root, preventing path traversal. Additionally, review any committed .kiota/workspace.json files in your repositories to ensure 'outputPath' values do not point outside the workspace. If upgrading is not immediately possible, avoid running 'kiota client generate' or 'kiota plugin generate' commands on untrusted or unreviewed repositories or pull requests.
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.
References
- github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8m (opens in a new tab)
- github.com/microsoft/kiota/pull/7885 (opens in a new tab)
- github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9 (opens in a new tab)
- github.com/microsoft/kiota/releases/tag/v1.32.5 (opens in a new tab)