CVE Catalog

CVE-2026-59864

CriticalCVSS 9.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.28%

67th percentile - higher than 67% of all known CVEs

Summary

Kiota before versions 1.29.1 and 1.32.5 in plugin add and plugin generate commands did not validate paths in the static_template.file field, allowing path traversal or out-of-package file inclusion in generated plugin manifests.

Risk Assessment

An attacker can use a malicious OpenAPI description to inject paths leading to reading or executing files outside the project directory, potentially causing data leakage or code execution.

Recommendation

Update Kiota to version 1.29.1 or 1.32.5 to get path validation in plugin manifests.

Other vulnerabilities in Kiota

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS