Intel

AIKIDO-2026-53015

@microsoft/kiota is vulnerable to Path Traversal

CVE-2026-59863Published Jul 10, 2026
July 10, 2026

70

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

Kiota honors the per-client and per-plugin outputPath values in a committed .kiota/workspace.json without confining them to the workspace. A malicious repository or pull request can set outputPath to an absolute or traversal path so that running the documented client or plugin generate command writes the generated files outside the workspace. This yields arbitrary file write on the developer or CI host filesystem. The fix validates each outputPath as a relative subdirectory of the workspace and aborts generation when a resolved path escapes it.

How do I fix this?

Upgrade the @microsoft/kiota library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run kiota client generate or kiota plugin generate against a .kiota/workspace.json from an untrusted repository or pull request.

Versions

0.0.1 - 1.32.4

Fixed in 1.32.5

Background info

@microsoft/kiota is vulnerable to Path Traversal in versions 0.0.1 - 1.32.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea