Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Microsoft.OpenApi.Kiota
  4. ›
  5. CVE-2026-59864

CVE-2026-59864: Microsoft Kiota: Path/URL injection into generated Copilot plugin manifest via x-ai-* extensions

July 24, 2026 (updated August 17, 2026)

kiota plugin add / kiota plugin generate (with -t APIPlugin) emits an attacker-controlled static_template.file path from the AI-plugin extensions (x-ai-adaptive-card, x-ai-capabilities) verbatim, with no path validation, into the generated Microsoft 365 Copilot / Teams plugin manifest (<name>-apiplugin.json). An attacker-controlled or compromised OpenAPI description can therefore embed a ../ / absolute path into the manifest’s response_semantics.static_template.file, yielding a path traversal (CWE-22) / out-of-package file inclusion (CWE-829) that is resolved by the AI host when the generated plugin is deployed.

Confirmed on Kiota 1.32.4 (KIOTA_CONFIG_PREVIEW=true, the self-contained linux-x64 release binary).

References

  • github.com/advisories/GHSA-4jwf-m4wg-8p66
  • github.com/microsoft/kiota/commit/9a185994a4e549b7bba3cc2beffb9736aa902e79
  • github.com/microsoft/kiota/pull/7892
  • github.com/microsoft/kiota/releases/tag/v1.32.5
  • github.com/microsoft/kiota/security/advisories/GHSA-4jwf-m4wg-8p66
  • nvd.nist.gov/vuln/detail/CVE-2026-59864

Code Behaviors & Features

Detect and mitigate CVE-2026-59864 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.29.1, all versions starting from 1.30.0 before 1.32.5

Fixed versions

  • 1.29.1
  • 1.32.5

Solution

Upgrade to versions 1.29.1, 1.32.5 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

nuget/Microsoft.OpenApi.Kiota/CVE-2026-59864.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:21 +0000.