CVE-2026-59864
CRITICAL 9.3CVSS 4.0Microsoft Kiota: Path/URL injection into generated Copilot plugin manifest via x-ai-* extensions
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.5, kiota plugin add and kiota plugin generate (with -t APIPlugin) emitted attacker-controlled static_template.file values from x-ai-adaptive-card and x-ai-capabilities into generated Microsoft 365 Copilot and Teams plugin manifests without path validation, allowing ../, absolute, rooted, UNC, Windows drive, or URI paths in response_semantics.static_template.file to cause path traversal or out-of-package file inclusion when the generated plugin was deployed. This issue is fixed in version 1.29.1 and 1.32.5.
- Published
- 16 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-829
- Also known as
- GHSA-4jwf-m4wg-8p66
- Sources
- NVDJSONOSV GHSA-4jwf-m4wg-8p66JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | NuGet | Microsoft.OpenApi.Kiota | >= 1.30.0, < 1.32.5 | 1.32.5 |
| OSV | NuGet | Microsoft.OpenApi.Kiota.Builder | >= 1.30.0, < 1.32.5 | 1.32.5 |
| OSV | NuGet | Microsoft.OpenApi.Kiota | < 1.29.1 | 1.29.1 |
| OSV | NuGet | Microsoft.OpenApi.Kiota.Builder | < 1.29.1 | 1.29.1 |
References
- https://github.com/microsoft/kiota/commit/9a185994a4e549b7bba3cc2beffb9736aa902e79 · WEB
- https://github.com/microsoft/kiota/pull/7892 · WEB
- https://github.com/microsoft/kiota/releases/tag/v1.32.5 · WEB
- https://github.com/microsoft/kiota/security/advisories/GHSA-4jwf-m4wg-8p66 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59864 · ADVISORY
- https://github.com/microsoft/kiota · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jul 2026)