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.
Published: 2026-10-06
Score: 3.1 Low
EPSS: 1.2% Low
KEV: No
Impact: Package Boundary Bypass
Action: Update
AI Analysis

Impact

Kiota, an OpenAPI‑based HTTP client generator, incorrectly copies the oauth_card_path from an OpenAPI spec into a generated API plugin manifest without sanitizing the value. An attacker who supplies a maliciously crafted specification can cause the reference to point to a parent‑directory, a rooted path or an absolute URI. When a consuming host resolves the reference, it may cross the intended plugin‑package boundary or use an unintended authentication card, potentially exposing sensitive information or granting unauthorized credential usage. This flaw does not allow Kiota itself to read a file or execute code during generation, but it creates a vulnerability that can be exercised by any downstream consumer that resolves the unsafe reference.

Affected Systems

The issue affects Microsoft.OpenApi.Kiota, Microsoft.OpenApi.Kiota.Builder, and kiota packages from version 1.25.1 through 1.35.0. Version 1.35.0 includes the fix that validates the oauth_card_path reference before copying it into the manifest.

Risk and Exploitability

The CVSS score of 3.1 reflects the low severity of the flaw; the EPSS score is 1%, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is the supply of a malicious OpenAPI description to Kiota, which then generates a manifest containing an unsafe reference. Exploitation requires a downstream consumer to resolve that reference, so the risk is limited to environments that download and use plugin manifests from untrusted sources.

Generated by OpenCVE AI on October 7, 2026 at 14:42 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kiota to version 1.35.0 or later where the validation of oauth_card_path is applied.
  • Validate any OpenAPI specifications you feed into Kiota, ensuring that oauth_card_path values point only to safe, package‑relative paths.
  • Review and reject authentication cards referenced in any manifest that originates from an untrusted or externally supplied source.

Generated by OpenCVE AI on October 7, 2026 at 14:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6gw6-rv2g-25mg Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests
History

Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft
Microsoft kiota
Microsoft microsoft.openapi.kiota
Microsoft microsoft.openapi.kiota.builder
Vendors & Products Microsoft
Microsoft kiota
Microsoft microsoft.openapi.kiota
Microsoft microsoft.openapi.kiota.builder

Tue, 06 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N'}


Subscriptions

Microsoft Kiota Microsoft.openapi.kiota Microsoft.openapi.kiota.builder
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-06T17:17:57.409Z

Reserved: 2026-10-05T20:37:19.364Z

Link: CVE-2026-105795

cve-icon Vulnrichment

Updated: 2026-10-06T17:17:48.029Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-06T15:17:16.437

Modified: 2026-10-06T18:16:47.203

Link: CVE-2026-105795

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:44:24Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')