Skip to main content

Microsoft Kiota CVE-2026-105795

| EUVDEUVD-2026-93424 LOW
Path Traversal (CWE-22)
2026-10-06 GitHub_M GHSA-6gw6-rv2g-25mg
3.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host or tamper malicious OpenAPI description
  2. Delivery
    Developer runs Kiota plugin manifest generation
  3. Exploit
    Unsafe oauth_card_path copied without validation
  4. Execution
    Consuming host resolves traversal/absolute reference
  5. Impact
    Crosses plugin boundary or loads attacker auth card

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: (1) an OpenAPI description under attacker control or compromised that includes an x-ai-capabilities.response_semantics.oauth_card_path value set to an unsafe reference (a '..' parent-directory traversal, a rooted/absolute path like /etc/passwd or C:\..., a UNC path, or an absolute URI such as http:// or file://); (2) a developer running Kiota (versions 1.25.1 through 1.34.x) to generate an API plugin manifest (PluginType APIPlugin) from that description; and (3) a downstream consuming host that subsequently resolves the oauth_card_path reference. Limiting factors that reduce real risk: Kiota performs no file read or code execution at generation time, so there is zero impact without the separate downstream-resolution step; a developer must actively run generation against the malicious description (UI:R); and only versions 1.25.1-1.34.x are affected (fixed in 1.35.0, which strips unsafe references).

Impact

This is a genuinely low-priority issue, not a high-CVSS flaw inflated by the network attack vector. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N) yields a base score of only 3.1 (Low): although the malicious OpenAPI description can be delivered over the network and no attacker authentication is required (PR:N), exploitation is gated by high attack complexity (AC:H), requires user interaction (UI:R - a developer must run Kiota generation against the attacker-controlled description), produces only a low integrity impact (I:L) and has no confidentiality or availability impact (C:N/A:N). Critically, Kiota itself neither reads a local file nor executes code during generation; the vulnerability only materializes if a downstream consuming host later resolves the unsafe oauth_card_path reference, so a second independent condition outside Kiota's control is required for real impact. Exploitation status: no public exploit identified at time of analysis - there is no CISA KEV listing and no POC; the attacker-controlled path strings visible in the linked PR are the vendor's regression test fixtures for the fix, not weaponized exploit code, and must not be conflated with active exploitation. EPSS score was not provided in the input and cannot be assessed. Overall, the combination of AC:H, UI:R, integrity-only impact, and a mandatory downstream-resolution precondition means this is a defense-in-depth hardening fix rather than an urgent operational threat.

Exploit ScenarioDerived

An attacker publishes or tampers with an OpenAPI description containing an x-ai-capabilities.response_semantics.oauth_card_path value that uses parent-directory traversal, a rooted path, or an absolute URI. A developer generates an API plugin manifest from that description with a vulnerable Kiota version (1.25.1-1.34.x), and Kiota copies the unsafe reference verbatim into the manifest; when a consuming host later resolves it, the host crosses the plugin-package boundary or loads an attacker-chosen authentication card. No public exploit code exists, and the high attack complexity plus required developer interaction make opportunistic exploitation unlikely.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 1.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 06, 2026

Microsoft Kiota, the OpenAPI-based HTTP client code generator, fails to validate the x-ai-capabilities.response_semantics.oauth_card_path value before copying it into a generated API plugin manifest, allowing path-traversal or absolute-URI references to survive into the manifest in versions 1.25.1 through 1.34.x. An attacker who controls or compromises the OpenAPI description can inject a malicious oauth_card_path (for example '../../../../etc/passwd', 'C:\\Windows\\...', a UNC path, or 'file:///etc/passwd') so that a downstream host resolving the plugin manifest crosses the intended plugin-package boundary or loads an unintended authentication card. The attacker vector is network-based and unauthenticated (PR:N), but exploitation requires a developer to actively run Kiota generation against the malicious description and a separate downstream consumer to resolve the reference; Kiota performs no file read or code execution during generation itself, so impact is limited to low integrity (I:L) and there is no public exploit identified at time of analysis. The issue is fixed in version 1.35.0.

RemediationAI

Upgrade Microsoft Kiota to version 1.35.0, which is the vendor-released patch that strips unsafe oauth_card_path file references during manifest generation (see the release at https://github.com/microsoft/kiota/releases/tag/v1.35.0 and the advisory at https://github.com/microsoft/kiota/security/advisories/GHSA-6gw6-rv2g-25mg; the code fix is in PR https://github.com/microsoft/kiota/pull/8055 and commit https://github.com/microsoft/kiota/commit/fc0f219b8a665c4c69be8befcff035ba0eb8e4ce). If upgrading is not immediately possible, the most effective compensating control is to generate plugin manifests only from OpenAPI descriptions you fully trust and control (treat third-party or untrusted descriptions as hostile), since the corruption originates in the input description rather than from Kiota reading local files; additionally, inspect or post-process generated manifests to reject any oauth_card_path that contains '..' segments, is absolute or rooted, or uses a URI scheme (http://, file://), trading off manual review effort against automation scale. Because impact requires a downstream host to resolve the reference, hardening the consuming host to resolve oauth_card_path only within the plugin package and to refuse absolute/URI references adds a second layer of defense. Note that pre-1.35.0 Kiota will emit a manifest containing the unsafe value without error, so generation success should not be treated as evidence of a safe manifest.

Affected VersionsENISA

Microsoft.OpenApi.Kiota.Builder 1.25.1, < 1.35.0
Microsoft.OpenApi.Kiota 1.25.1, < 1.35.0
kiota 1.25.1, < 1.35.0

Affected Packages

nuget microsoft.openapi.kiota fix: 1.35.0
nuget microsoft.openapi.kiota.builder fix: 1.35.0
euvd kiota_1_25_1 fix: 1.35.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in nuget, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kiota is Microsoft's OpenAPI-driven code generator that emits HTTP clients and, relevant here, API plugin manifests consumed by hosts such as Copilot-style runtimes. The flaw is a classic CWE-22 improper limitation of a pathname to a restricted directory: when Kiota processes the x-ai-capabilities extension (specifically response_semantics.oauth_card_path) from an OpenAPI operation, it previously assigned the supplied string directly to responseSemantics.OAuthCardPath in PluginsGenerationService.cs without checking that the value is a safe, package-relative file reference. Because the manifest is later interpreted by a consuming host, any of the following unsanitized forms can traverse outside the plugin package or redirect authentication: '..' parent-directory segments, rooted/absolute paths ('/etc/passwd', 'C:\\Windows\\...'), UNC paths ('\\\\server\\share'), and absolute URIs ('http://', 'file://'). Regression tests added by the fix enumerate additional bypass classes including single and double URL encoding ('%2e%2e', '%252e%252e%252f'), a null-byte truncation ('card%00.json'), and fullwidth-dot homoglyph traversal ('\uFF0E\uFF0E/oauthCard.json'), confirming the validation must handle more than plain '../' sequences. Affected CPEs identify the Kiota tool itself and the Microsoft.OpenAPI.Kiota and Microsoft.OpenAPI.Kiota.Builder NuGet components: cpe:2.3:a:microsoft:kiota, cpe:2.3:a:microsoft:microsoft.openapi.kiota, and cpe:2.3:a:microsoft:microsoft.openapi.kiota.builder. The fix introduces an IsSafeFileReference check that only accepts relative, non-escaping paths; unsafe values are omitted from the manifest and a warning is logged.

Know when Kiota gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 3.1 LOW
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 3.1 LOW

Malicious spec is network-delivered (AV:N) but needs a developer to run generation (UI:R) and depends on downstream resolution (AC:H); unauthenticated (PR:N) with integrity-only impact (I:L), no C/A.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 16:03 EUVD
CVE Published
Oct 06, 2026 - 14:19 cve.org
LOW 3.1

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
1.2%
Top 32% exploitable
Prevalence
Medium
Microsoft .NET/OpenAPI code-generation tool, moderate developer-ecosystem adoption, not production-ubiquitous
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 1.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +16
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Kiota

View all
CVE-2026-59865 CRITICAL
9.3 Jul 16

Command injection in Microsoft Kiota before 1.32.5 lets a malicious or compromised OpenAPI description dictate the insta

CVE-2026-59866 CRITICAL
9.3 Jul 16

Path traversal and code injection in Microsoft Kiota before 1.32.5 lets an attacker-controlled OpenAPI description write

CVE-2026-59864 CRITICAL
9.3 Jul 16

Path traversal in Microsoft Kiota before 1.32.5 lets an attacker-controlled OpenAPI description inject unvalidated `stat

CVE-2026-105796 HIGH
8.8 Oct 06

Code injection in Microsoft Kiota 0.5.0 through pre-1.35.0 allows attacker-controlled text embedded in an OpenAPI descri

CVE-2026-59859 HIGH
8.7 Jul 16

PHP code generation in Microsoft Kiota prior to 1.32.4 permits injection of arbitrary PHP code when the generator proces

CVE-2026-59860 HIGH
8.7 Jul 16

Code-generation injection in Microsoft Kiota's C# XML documentation-comment writer allows an attacker who controls or co

CVE-2026-59861 HIGH
7.5 Jul 16

Code injection in Microsoft Kiota Ruby code generator allows remote code execution through crafted OpenAPI specification

CVE-2026-59862 HIGH
7.5 Jul 16

Code injection in Microsoft Kiota's Python client generator (versions prior to 1.32.0) allows an attacker who controls a

CVE-2026-59867 HIGH
7.1 Jul 16

Build-time SSRF, remote file inclusion, and local file inclusion in Microsoft Kiota before 1.32.5 lets an attacker-contr

CVE-2026-41134 HIGH
7.3 Apr 22

Code injection in Microsoft Kiota versions prior to 1.31.1 allows attackers who control or tamper with OpenAPI descripti

CVE-2026-59863 HIGH
7.0 Jul 16

Arbitrary file write via path traversal in Microsoft Kiota (OpenAPI HTTP client/plugin code generator) before 1.32.5 all

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy