CVE-2026-59863 PUBLISHED

Kiota: Workspace-config poisoning: out-of-repo file write + generation-time SSRF

Assigner: GitHub_M
Reserved: 07.07.2026 Published: 16.07.2026 Updated: 16.07.2026

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.

Metrics

CVSS 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
CVSS Score: 7

Product Status

Vendor microsoft
Product kiota
Versions
  • Version < 1.32.5 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE