[ CVE-2026-105795 · Published 6 Oct 2026 ]

Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests

CVSS 3.1 EPSS 1%Fix available

[ Description ]Official description

Kiota is an OpenAPI based HTTP Client code generator. From 1.25.1 until 1.35.0, Kiota copies x-ai-capabilities.response_semantics.oauth_card_path from an attacker-controlled or compromised OpenAPI description into a generated API plugin manifest without validating that the value is a safe package-relative file reference. Parent-directory traversal, rooted paths, or absolute URIs can therefore reach a consuming host that resolves the reference, allowing the host to cross the intended plugin-package boundary or use an unintended authentication card. Kiota does not itself read a local file or execute code merely while generating the manifest, and impact requires downstream resolution of the unsafe reference. This issue is fixed in version 1.35.0.

[ Fixes ]Fixes and patches

  • Microsoft.OpenApi.Kiota 1.35.0Fixed version · GitHub Advisories · nuget package Microsoft.OpenApi.Kiota: upgrade to 1.35.0 or later (affected >= 1.25.1, < 1.35.0)
  • Microsoft.OpenApi.Kiota.Builder 1.35.0Fixed version · GitHub Advisories · nuget package Microsoft.OpenApi.Kiota.Builder: upgrade to 1.35.0 or later (affected >= 1.25.1, < 1.35.0)

[ Packages ]Affected open-source packages

  • Microsoft.OpenApi.Kiota nugetAffected >= 1.25.1, < 1.35.0 · fixed in 1.35.0 · GHSA-6gw6-rv2g-25mg
  • Microsoft.OpenApi.Kiota.Builder nugetAffected >= 1.25.1, < 1.35.0 · fixed in 1.35.0 · GHSA-6gw6-rv2g-25mg