Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Microsoft.OpenApi.Kiota
  4. ›
  5. CVE-2026-105795

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

October 6, 2026

When generating an API plugin manifest from an attacker-controlled or compromised OpenAPI description, Kiota copies x-ai-capabilities.response_semantics.oauth_card_path into the manifest without validating that it is a safe package-relative file reference. An attacker can supply parent-directory traversal, rooted paths, or absolute URIs instead of a card file within the plugin package.

The unsafe reference is propagated into the generated manifest. Its security effect depends on the downstream host’s handling of the reference when the plugin is packaged and deployed. This is not local code execution or a file read performed by Kiota merely during generation. A consuming host that resolves the untrusted reference can cross the intended package boundary or use an unintended authentication card.

References

  • github.com/advisories/GHSA-6gw6-rv2g-25mg
  • github.com/microsoft/kiota/commit/fc0f219b8a665c4c69be8befcff035ba0eb8e4ce
  • github.com/microsoft/kiota/pull/8055
  • github.com/microsoft/kiota/releases/tag/v1.35.0
  • github.com/microsoft/kiota/security/advisories/GHSA-6gw6-rv2g-25mg
  • nvd.nist.gov/vuln/detail/CVE-2026-105795

Code Behaviors & Features

Detect and mitigate CVE-2026-105795 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.25.1 before 1.35.0

Fixed versions

  • 1.35.0

Solution

Upgrade to version 1.35.0 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

nuget/Microsoft.OpenApi.Kiota/CVE-2026-105795.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:46 +0000.