{
 "id": "CVE-2026-59864",
 "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.",
 "published": "2026-07-16",
 "last_modified": "2026-10-24",
 "vuln_status": "Deferred",
 "cna": "security-advisories@github.com",
 "cvss": {
  "version": "4.0",
  "score": 9.3,
  "severity": "CRITICAL",
  "vector": "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",
  "source": "security-advisories@github.com"
 },
 "cwe": [
  "CWE-22",
  "CWE-829"
 ],
 "products": [
  {
   "vendor": "Microsoft",
   "product": "Microsoft 365 Copilot",
   "versions_affected": null,
   "fixed_in": null,
   "product_id": "m365-copilot"
  }
 ],
 "category": "product",
 "surface": [
  "supply_chain",
  "path_traversal"
 ],
 "kev": null,
 "fix": {
  "status": "unknown",
  "version": null,
  "url": null
 },
 "references": [
  {
   "url": "https://github.com/microsoft/kiota/commit/9a185994a4e549b7bba3cc2beffb9736aa902e79",
   "source": "security-advisories@github.com",
   "tags": []
  },
  {
   "url": "https://github.com/microsoft/kiota/pull/7892",
   "source": "security-advisories@github.com",
   "tags": []
  },
  {
   "url": "https://github.com/microsoft/kiota/releases/tag/v1.32.5",
   "source": "security-advisories@github.com",
   "tags": []
  },
  {
   "url": "https://github.com/microsoft/kiota/security/advisories/GHSA-4jwf-m4wg-8p66",
   "source": "security-advisories@github.com",
   "tags": []
  }
 ],
 "related_agents": [
  "microsoft-microsoft-365-copilot-for-government"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:name"
  ],
  "terms": [
   "m365-copilot:Microsoft 365 Copilot"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-26"
}