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.
Severity (CVSS)
| Base score | 7 |
|---|---|
| Severity | High |
| Version | CVSS 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 |
| Provided by | CNA |
Weaknesses
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| microsoft | kiota | < 1.32.5 |
References
- https://github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8m (x_refsource_CONFIRM)
- https://github.com/microsoft/kiota/pull/7885 (x_refsource_MISC)
- https://github.com/microsoft/kiota/commit/4049327872db7846ace35c9003774d3e3878e4e9 (x_refsource_MISC)
- https://github.com/microsoft/kiota/releases/tag/v1.32.5 (x_refsource_MISC)
Generated from the official CVE List on 17 Jul 2026 07:01 UTC.