GHSA-6gw6-rv2g-25mg: Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests
- Identifiers
- CVE-2026-105795GHSA-6gw6-rv2g-25mg
- Published
- Record updated
- Affected
- Microsoft.OpenApi.Kiota.Builder >= 1.25.1, < 1.35.0
- Microsoft.OpenApi.Kiota >= 1.25.1, < 1.35.0
- Fixed in
- 1.35.0
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.2%
Summary
Microsoft.OpenApi.Kiota and Microsoft.OpenApi.Kiota.Builder, from version 1.25.1 through 1.34.1 (including the 1.29.1 security-backport release), copy x-ai-capabilities.response_semantics.oauth_card_path into generated API plugin manifests without checking that it is a safe package-relative file reference. An attacker who controls the OpenAPI description can supply parent-directory traversal, rooted paths, or absolute URIs, and a consuming host that resolves the reference may cross the package boundary or use an unintended authentication card. Kiota itself does not read files or execute code during generation.
Mitigation
Upgrade to Kiota 1.35.0 or later and regenerate affected plugin manifests. Kiota 1.35.0 applies the existing safe-file-reference validator to oauth_card_path, drops unsafe references, and emits a warning; valid relative card paths remain supported. Workaround: generate plugins only from trusted, integrity-protected OpenAPI descriptions, and before packaging or deployment review generated manifests and remove any oauth_card_path that is not a safe relative reference confined to the plugin package.
Related items
- HighCVE-2026-81962: Azure Machine Learning information disclosure through incorrect authorizationSame vendor · NVD/CVE Database
- CriticalCVE-2026-50691: M365 Copilot improper authorization allows privilege elevation over networkSame vendor · NVD/CVE Database
- CriticalCVE-2026-118285: Azure Machine Learning server-side request forgery allows privilege elevationSame vendor · NVD/CVE Database
- MediumCVE-2026-83953 GitHub Copilot for Jetbrains Information Disclosure VulnerabilitySame vendor · MSRC Security Update Guide
- InfoCVE-2026-119990 Azure OpenAI Elevation of Privilege VulnerabilitySame vendor · MSRC Security Update Guide