Kiota: Workspace-config poisoning: out-of-repo file write + generation-time SSRF
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · High · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-829.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Microsoft | kiota | 1.30.0 to before 1.31.1; before 1.29.1 | 1.31.1, 1.29.1 | Patch available | CNA |
| — | Microsoft.OpenApi.Kiota (NuGet) | 1.30.0 to before 1.32.5 | 1.32.5 | Patch available | GHSA-4rj6-vrwv-wr8m |
| — | Microsoft.OpenApi.Kiota.Builder (NuGet) | 1.30.0 to before 1.32.5 | 1.32.5 | Patch available | GHSA-4rj6-vrwv-wr8m |
| — | Microsoft.OpenApi.Kiota (NuGet) | before 1.29.1 | 1.29.1 | Patch available | GHSA-4rj6-vrwv-wr8m |
| — | Microsoft.OpenApi.Kiota.Builder (NuGet) | before 1.29.1 | 1.29.1 | Patch available | GHSA-4rj6-vrwv-wr8m |
- kiota VendorMicrosoft Affected 1.30.0 to before 1.31.1; before 1.29.1 Fixed in 1.31.1, 1.29.1 Patch available CNA
- Microsoft.OpenApi.Kiota (NuGet) Vendor— Affected 1.30.0 to before 1.32.5 Fixed in 1.32.5 Patch available GHSA-4rj6-vrwv-wr8m
- Microsoft.OpenApi.Kiota.Builder (NuGet) Vendor— Affected 1.30.0 to before 1.32.5 Fixed in 1.32.5 Patch available GHSA-4rj6-vrwv-wr8m
- Microsoft.OpenApi.Kiota (NuGet) Vendor— Affected before 1.29.1 Fixed in 1.29.1 Patch available GHSA-4rj6-vrwv-wr8m
- Microsoft.OpenApi.Kiota.Builder (NuGet) Vendor— Affected before 1.29.1 Fixed in 1.29.1 Patch available GHSA-4rj6-vrwv-wr8m
Remediation
- Fix · CNA kiota (microsoft) Fixed in 1.31.1, 1.29.1
- Fix · GHSA-4rj6-vrwv-wr8m Microsoft.OpenApi.Kiota (NuGet) Fixed in 1.32.5 Advisory →
- Fix · GHSA-4rj6-vrwv-wr8m Microsoft.OpenApi.Kiota.Builder (NuGet) Fixed in 1.32.5 Advisory →
- Fix · GHSA-4rj6-vrwv-wr8m Microsoft.OpenApi.Kiota (NuGet) Fixed in 1.29.1 Advisory →
- Fix · GHSA-4rj6-vrwv-wr8m Microsoft.OpenApi.Kiota.Builder (NuGet) Fixed in 1.29.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59863
- 2026-10-03 Alias added: GHSA-4rj6-vrwv-wr8m
References
More Microsoft vulnerabilities
- TI-2026-42212 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2026-37256 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2026-26194 Windows Internet Key Exchange (IKE) Service Extensions Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2026-16982 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2025-36863 Windows Server Update Service (WSUS) Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2025-33671 Microsoft SharePoint Server Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59863 · CVE Program
- CVE-2026-59863 · NVD
- FIRST EPSS
- GHSA-4rj6-vrwv-wr8m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences