Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-105795Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests
Low 3.1
In plain English
A low-severity path traversal in kiota from microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | microsoft.openapi.kiota | 1.35.0 | GHSA-6gw6-rv2g-25mg |
| NuGet | microsoft.openapi.kiota.builder | 1.35.0 | GHSA-6gw6-rv2g-25mg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | kiota | >= 1.25.1, < 1.35.0 |
| microsoft | Microsoft.OpenApi.Kiota | >= 1.25.1, < 1.35.0 |
| microsoft | Microsoft.OpenApi.Kiota.Builder | >= 1.25.1, < 1.35.0 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
References
- https://github.com/microsoft/kiota/security/advisories/GHSA-6gw6-rv2g-25mg x_refsource_CONFIRM
- https://github.com/microsoft/kiota/pull/8055 x_refsource_MISC
- https://github.com/microsoft/kiota/commit/fc0f219b8a665c4c69be8befcff035ba0eb8e4ce x_refsource_MISC
- https://github.com/microsoft/kiota/releases/tag/v1.35.0 x_refsource_MISC