# CVE-2026-105795: Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests

Source: https://junglewise.ai/threats/cve-2026-105795-kiota-is-an-openapi-based-http-client-code-generator-from-1-25-1  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-06  
License: CC BY 4.0 with a link back

CVE-2026-105795 · Severity: low · CVSS 3.1 · Published 2026-10-06

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.

Technologies: [Microsoft.OpenApi.Kiota (NuGet)](https://junglewise.ai/threats/technologies/nuget-microsoft-openapi-kiota), [Microsoft.OpenApi.Kiota.Builder (NuGet)](https://junglewise.ai/threats/technologies/nuget-microsoft-openapi-kiota-builder). Vendors: [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

**Is CVE-2026-105795 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-105795 being exploited in the wild.

**How severe is CVE-2026-105795?** Low severity, with a CVSS score of 3.1, published 6 October 2026.

**Which products and versions are affected?** Microsoft.OpenApi.Kiota (NuGet) >= 1.25.1, < 1.35.0, ECOSYSTEM:introduced=1.25.1,fixed=1.35.0; Microsoft.OpenApi.Kiota.Builder (NuGet) >= 1.25.1, < 1.35.0, ECOSYSTEM:introduced=1.25.1,fixed=1.35.0.

**Is there a fix for CVE-2026-105795?** Yes. Microsoft.OpenApi.Kiota (NuGet): upgrade to 1.35.0 or later; Microsoft.OpenApi.Kiota.Builder (NuGet): upgrade to 1.35.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-105795?** Check whether you run Microsoft.OpenApi.Kiota (NuGet) or Microsoft.OpenApi.Kiota.Builder (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Microsoft.OpenApi.Kiota (NuGet): upgrade to 1.35.0 or later

  ```sh
  dotnet add package Microsoft.OpenApi.Kiota --version 1.35.0
  ```

- Microsoft.OpenApi.Kiota.Builder (NuGet): upgrade to 1.35.0 or later

  ```sh
  dotnet add package Microsoft.OpenApi.Kiota.Builder --version 1.35.0
  ```


## Affected products

- Microsoft.OpenApi.Kiota (NuGet) >= 1.25.1, < 1.35.0, ECOSYSTEM:introduced=1.25.1,fixed=1.35.0
- Microsoft.OpenApi.Kiota.Builder (NuGet) >= 1.25.1, < 1.35.0, ECOSYSTEM:introduced=1.25.1,fixed=1.35.0

## Identifiers

- CVE-2026-105795
- GHSA-6gw6-rv2g-25mg

## Related threats

- [Microsoft Kiota documentation-comment injection in Java and PHP](https://junglewise.ai/threats/cve-2026-105796-kiota-is-an-openapi-based-http-client-code-generator-from-0-5-0)
- [Microsoft Kiota path traversal in plugin manifest via percent-encoding bypass](https://junglewise.ai/threats/cve-2026-73851-microsoft-kiota-path-traversal-in-plugin-manifest-via-percent)
- [Microsoft Kiota SSRF and File Inclusion via OpenAPI external references](https://junglewise.ai/threats/cve-2026-59867-microsoft-kiota-ssrf-and-file-inclusion-via-openapi-external)
- [Microsoft Kiota path traversal and code injection in OpenAPI generation](https://junglewise.ai/threats/cve-2026-59866-microsoft-kiota-path-traversal-and-code-injection-in-openapi)
- [Microsoft Kiota command injection in kiota info via OpenAPI extension](https://junglewise.ai/threats/cve-2026-59865-microsoft-kiota-command-injection-in-kiota-info-via-openapi)
