CVE-2026-59863: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in microsoft kiota
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.
AI Analysis
Technical Summary
Microsoft Kiota versions before 1.32.5 do not properly validate per-client or per-plugin outputPath values in the .kiota/workspace.json configuration file during client or plugin generation. This allows a malicious repository or pull request to specify paths that traverse outside the workspace root, including absolute POSIX paths, UNC paths, Windows drive paths, or '..' segments, leading to arbitrary file writes on developer or CI hosts. The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).
Potential Impact
An attacker who can influence the workspace configuration file can cause Kiota to write generated client files outside the intended workspace directory. This may lead to overwriting or creating files in arbitrary locations on the file system of the developer or continuous integration environment, potentially resulting in code execution or system compromise depending on the context and privileges of the Kiota process.
Mitigation Recommendations
Upgrade to Microsoft Kiota version 1.32.5 or later, where this path traversal vulnerability is fixed. Since no official patch link or advisory is provided, verify the version upgrade from the vendor's official release notes or repository. Avoid using untrusted repositories or pull requests that could modify the .kiota/workspace.json configuration until the upgrade is applied.
CVE-2026-59863: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in microsoft kiota
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.
CVSS v4.0
Score 7.0high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Microsoft Kiota versions before 1.32.5 do not properly validate per-client or per-plugin outputPath values in the .kiota/workspace.json configuration file during client or plugin generation. This allows a malicious repository or pull request to specify paths that traverse outside the workspace root, including absolute POSIX paths, UNC paths, Windows drive paths, or '..' segments, leading to arbitrary file writes on developer or CI hosts. The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).
Potential Impact
An attacker who can influence the workspace configuration file can cause Kiota to write generated client files outside the intended workspace directory. This may lead to overwriting or creating files in arbitrary locations on the file system of the developer or continuous integration environment, potentially resulting in code execution or system compromise depending on the context and privileges of the Kiota process.
Mitigation Recommendations
Upgrade to Microsoft Kiota version 1.32.5 or later, where this path traversal vulnerability is fixed. Since no official patch link or advisory is provided, verify the version upgrade from the vendor's official release notes or repository. Avoid using untrusted repositories or pull requests that could modify the .kiota/workspace.json configuration until the upgrade is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-07T15:41:53.607Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a58ef3568715ace4330615b
Added to database: 07/16/2026, 14:48:21 UTC
Last enriched: 07/16/2026, 15:02:31 UTC
Last updated: 07/16/2026, 20:48:56 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.