CVE-2026-59863
HIGH
7.0
CVSS 4.0
Description
Kiota is an OpenAPI based HTTP Client code generator. Prior to 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.32.5.
Metadata
Severity & Metrics
7.0
HIGH CVSS 4.0
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
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| microsoft | kiota | — | < 1.32.5 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-22 | cna | CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 7.0 | HIGH | 4.0 | cna | 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 |
References (4)
- https://github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8m https://github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8m
- https://github.com/microsoft/kiota/pull/7885 https://github.com/microsoft/kiota/pull/7885
- https://github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9 https://github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9
- https://github.com/microsoft/kiota/releases/tag/v1.32.5 https://github.com/microsoft/kiota/releases/tag/v1.32.5