CVE-2026-59863
Received Received - Intake

Kiota Code Generator Path Traversal Vulnerability

Vulnerability report for CVE-2026-59863, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-16

Last updated on: 2026-07-16

Assigner: GitHub, Inc.

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-16
Last Modified
2026-07-16
Generated
2026-07-16
AI Q&A
2026-07-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
microsoft kiota to 1.32.5 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-59863 is a path traversal vulnerability in Microsoft Kiota versions prior to 1.32.5. It involves a poisoned .kiota/workspace.json file that allows attackers to write files outside the intended workspace directory by exploiting unvalidated outputPath values in client or plugin configurations.

Detection Guidance

Check Kiota version with 'kiota --version' to confirm it is 1.32.5 or higher. Inspect .kiota/workspace.json files in repositories for suspicious outputPath values like absolute paths, UNC paths, or parent directory references (../). Use file system monitoring to detect unexpected writes outside expected directories during 'kiota client generate' or 'kiota plugin generate' commands.

Impact Analysis

This vulnerability could allow attackers to overwrite source or build files, drop malicious files in auto-loaded locations, or write arbitrary files to sensitive system directories. Developers or CI systems using vulnerable Kiota versions may unknowingly execute malicious code or corrupt their projects.

Compliance Impact

This vulnerability could potentially violate compliance with GDPR and HIPAA by allowing arbitrary file writes outside intended directories. Attackers could overwrite sensitive files or inject malicious content into auto-loaded locations, compromising data integrity and confidentiality. Unauthorized file access may lead to unauthorized data exposure or modification, which are key violations under these regulations.

Mitigation Strategies

Upgrade Kiota to version 1.32.5 or later. Review all .kiota/workspace.json files in your repositories for malicious outputPath configurations. Remove any absolute paths, UNC paths, or parent directory references. Rebuild and redeploy affected systems after applying the update.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59863. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart