Live threats

All CVEs / microsoft

CVE-2026-59864microsoft kiota

Critical 9.3 No auth needed

Priority
71
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Jul 16, 2026
Updated
Oct 24, 2026
Category
Application · Windows
Weakness (CWE)
CWE-22, CWE-829
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for kiota.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Microsoft.OpenApi.Kiota ≥ 1.30.0 < 1.32.5 1.32.5 dotnet add package Microsoft.OpenApi.Kiota --version 1.32.5
NuGet Microsoft.OpenApi.Kiota < 1.29.1 1.29.1 dotnet add package Microsoft.OpenApi.Kiota --version 1.29.1
NuGet Microsoft.OpenApi.Kiota.Builder ≥ 1.30.0 < 1.32.5 1.32.5 dotnet add package Microsoft.OpenApi.Kiota.Builder --version 1.32.5
NuGet Microsoft.OpenApi.Kiota.Builder < 1.29.1 1.29.1 dotnet add package Microsoft.OpenApi.Kiota.Builder --version 1.29.1

Per OSV / GitHub Advisories (GHSA-4jwf-m4wg-8p66). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.