CVE-2026-105795: Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests
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 →