Skip to content
HighVulnerability

CVE-2026-59864: Kiota plugin generation path traversal through static_template file values

Identifier
CVE-2026-59864
Published
Record updated
View JSON
Affected
  • Microsoft.OpenApi.Kiota >= 1.30.0, < 1.32.5, fixed in 1.32.5
  • Microsoft.OpenApi.Kiota.Builder >= 1.30.0, < 1.32.5, fixed in 1.32.5
  • Microsoft.OpenApi.Kiota < 1.29.1, fixed in 1.29.1
  • and 1 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.3%

Summary

Kiota versions prior to 1.32.5 generate Microsoft 365 Copilot and Teams plugin manifests with `static_template.file` values taken from `x-ai-adaptive-card` and `x-ai-capabilities` without path validation, via `kiota plugin add` and `kiota plugin generate` (with `-t APIPlugin`). Attacker-controlled values such as `../`, absolute, UNC, or Windows drive paths can cause path traversal or out-of-package file inclusion when the generated plugin is deployed.

Mitigation

Fixed in 1.32.5.