CVE-2026-59864

CRITICAL

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

Title source: cna
STIX 2.1

Description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 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.32.5.

Scores

CVSS v4 9.3
EPSS 0.0127
EPSS Percentile 67.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/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

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-22 CWE-829
Status published
Products (3)
microsoft/kiota < 1.32.5
nuget/Microsoft.OpenApi.Kiota 0 - 1.32.5NuGet
nuget/Microsoft.OpenApi.Kiota.Builder 0 - 1.32.5NuGet
Published Jul 16, 2026
Tracked Since Jul 16, 2026