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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.28%, higher than 70% of CVEs (2026-12-01)
- Published: 2026-07-16T14:45:36.247Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-4jwf-m4wg-8p66
- Weaknesses: CWE-22, CWE-829
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- microsoft kiota: >= 1.30.0, < 1.31.1; < 1.29.1
- Microsoft.OpenApi.Kiota (NuGet): from 1.30.0 before 1.32.5; before 1.29.1
- Microsoft.OpenApi.Kiota.Builder (NuGet): from 1.30.0 before 1.32.5; before 1.29.1

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/microsoft/kiota/security/advisories/GHSA-4jwf-m4wg-8p66> (web)
- <https://github.com/microsoft/kiota/pull/7892> (web)
- <https://github.com/microsoft/kiota/commit/9a185994a4e549b7bba3cc2beffb9736aa902e79> (web)
- <https://github.com/microsoft/kiota/releases/tag/v1.32.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59864> (advisory)
- <https://github.com/microsoft/kiota> (package)

## Sources

- CVE List: [CVE-2026-59864](https://www.cve.org/CVERecord?id=CVE-2026-59864), CVE Terms of Use, modified 2026-08-17
- GitHub Advisory Database: [GHSA-4jwf-m4wg-8p66](https://github.com/advisories/GHSA-4jwf-m4wg-8p66), CC-BY-4.0, modified 2026-08-17
- NVD: [CVE-2026-59864](https://nvd.nist.gov/vuln/detail/CVE-2026-59864), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-59864 · Whole record: https://cve.day/CVE-2026-59864.json · Rebuilt by cve.day 2026-11-25T22:59:28.394Z
