Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59863: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in microsoft kiota

0
High
VulnerabilityCVE-2026-59863cvecve-2026-59863cwe-22
Published: 07/16/2026 (07/16/2026, 14:42:02 UTC)
Source: CVE Database V5
Vendor/Project: microsoft
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
microsoft/kiota
pkg:github/microsoft/kiota
Affected versions
<1.32.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 15:02:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses