---
id: CVE-2026-105795
title: Kiota is an OpenAPI based HTTP Client code generator
summary: >-
  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 …
severity: low
cvss: 3.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N'
cwe:
  - CWE-22
vendor: Microsoft
product: Microsoft.OpenApi.Kiota
affected:
  - 'Microsoft.OpenApi.Kiota >= 1.25.1, < 1.35.0'
  - 'Microsoft.OpenApi.Kiota.Builder >= 1.25.1, < 1.35.0'
patched:
  - Microsoft.OpenApi.Kiota 1.35.0
  - Microsoft.OpenApi.Kiota.Builder 1.35.0
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T16:00:36.547'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105795'
references:
  - url: >-
      https://github.com/microsoft/kiota/commit/fc0f219b8a665c4c69be8befcff035ba0eb8e4ce
    label: security-advisories@github.com
  - url: 'https://github.com/microsoft/kiota/pull/8055'
    label: security-advisories@github.com
  - url: 'https://github.com/microsoft/kiota/releases/tag/v1.35.0'
    label: security-advisories@github.com
  - url: 'https://github.com/microsoft/kiota/security/advisories/GHSA-6gw6-rv2g-25mg'
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105795'
  - url: 'https://github.com/advisories/GHSA-6gw6-rv2g-25mg'
tags:
  - nvd
  - ghsa
  - nuget
  - cve.org
aliases:
  - GHSA-6gw6-rv2g-25mg
ecosystem: nuget
ingestedAt: '2026-10-06T15:01:49.305Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-105795)

Affected packages:

- `Microsoft.OpenApi.Kiota >= 1.25.1, < 1.35.0`
- `Microsoft.OpenApi.Kiota.Builder >= 1.25.1, < 1.35.0`

Patched in:

- `Microsoft.OpenApi.Kiota 1.35.0`
- `Microsoft.OpenApi.Kiota.Builder 1.35.0`

Source: https://github.com/advisories/GHSA-6gw6-rv2g-25mg
