{"id":"CVE-2026-59864","aliases":["GHSA-4jwf-m4wg-8p66"],"url":"https://o3.security/vulnerability/CVE-2026-59864","summary":"Kiota: Path/URL injection into generated Copilot plugin manifest via x-ai-* extensions","details":"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":"2026-07-16T14:45:36.247Z","modified":"2026-08-19T12:09:53.263797Z","cvss":null,"epss":{"score":0.01275,"percentile":0.67615,"asOf":"2026-08-19"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota","fixedVersion":"1.32.5"},{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota.Builder","fixedVersion":"1.32.5"},{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota","fixedVersion":"1.29.1"},{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota.Builder","fixedVersion":"1.29.1"}],"fix":{"url":"https://github.com/microsoft/kiota/commit/9a185994a4e549b7bba3cc2beffb9736aa902e79","label":"microsoft/kiota@9a18599"},"references":[{"type":"WEB","url":"https://github.com/microsoft/kiota/releases/tag/v1.32.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59864.json"},{"type":"ADVISORY","url":"https://github.com/microsoft/kiota/security/advisories/GHSA-4jwf-m4wg-8p66"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59864"},{"type":"FIX","url":"https://github.com/microsoft/kiota/commit/9a185994a4e549b7bba3cc2beffb9736aa902e79"},{"type":"FIX","url":"https://github.com/microsoft/kiota/pull/7892"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-19T12:09:53.263797Z"}}