Skip to content
Low 3.1

Path Traversal in Microsoft.OpenApi.Kiota

CVE-2026-105795 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-105795 has been found in Microsoft.OpenApi.Kiota.
Attackers can target a specific entry point like Microsoft.OpenApi.Kiota over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 3.1/10.
What to do: upgrade Microsoft.OpenApi.Kiota to 1.35.0 or later.
If unsure, ask your IT team or search "Microsoft.OpenApi.Kiota CVE-2026-105795" on the vendor's site.

CVE-2026-105795 (Microsoft.OpenApi.Kiota) — CWE-22 / CVSS v3 3.1
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: Microsoft.OpenApi.Kiota / Microsoft.OpenApi.Kiota.Builder / oauth_card_path / static_template.file
Patched: 1.35.0 — apply immediately
Workaround: Generate plugins only from trusted, integrity-protected OpenAPI descriptions.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

Path traversal (CWE-22) exists in Microsoft.OpenApi.Kiota. Attackers reach the vulnerable code path via Microsoft.OpenApi.Kiota without authentication.

Affected scope

Check the vendor advisory for the affected versions of Microsoft.OpenApi.Kiota. Attack surface: Microsoft.OpenApi.Kiota / Microsoft.OpenApi.Kiota.Builder / oauth_card_path / static_template.file.

Severity

Severity: Low (CVSS 3.1/10). Risk of unauthorized operations or information disclosure.

How to fix

Update to 1.35.0.

Workaround

Workaround: Generate plugins only from trusted, integrity-protected OpenAPI descriptions.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Microsoft.OpenApi.Kiota' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'Microsoft.OpenApi.Kiota' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Microsoft.OpenApi.Kiota を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaroundmitigate
    Generate plugins only from trusted, integrity-protected OpenAPI descriptions.

    パッチが適用されるまでの応急処置として、Generate plugins only from trusted, integrity-protected OpenAPI descriptions. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patchpatch
    Upgrade Microsoft.OpenApi.Kiota to 1.35.0

    ステージング環境で 1.35.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
nugetMicrosoft.OpenApi.Kiota
≥ 1.25.1, < 1.35.0→ 1.35.0
nugetMicrosoft.OpenApi.Kiota.Builder
≥ 1.25.1, < 1.35.0→ 1.35.0
Original description The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details