CVE-2026-59860: Kiota Unsafe Plugin Manifest File Reference

Unvalidated file references from OpenAPI descriptions are directly embedded into plugin manifests. This allows path traversal payloads (e.g., '../') to reach downstream consumers of the manifest. Ensure that all externally provided file references are validated to be relative paths without parent-directory sequences before being embedded.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C#
greprules fetch cve-2026-59860-kiota-unsafe-plugin-manifest-file-reference --engine opengrep

Description

Unvalidated file references from OpenAPI descriptions are directly embedded into plugin manifests. This allows path traversal payloads (e.g., '../') to reach downstream consumers of the manifest. Ensure that all externally provided file references are validated to be relative paths without parent-directory sequences before being embedded.