Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost or tamper malicious OpenAPI description
-
DeliveryDeveloper runs Kiota plugin manifest generation
-
ExploitUnsafe oauth_card_path copied without validation
-
ExecutionConsuming host resolves traversal/absolute reference
-
ImpactCrosses 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Command injection in Microsoft Kiota before 1.32.5 lets a malicious or compromised OpenAPI description dictate the insta
Path traversal and code injection in Microsoft Kiota before 1.32.5 lets an attacker-controlled OpenAPI description write
Path traversal in Microsoft Kiota before 1.32.5 lets an attacker-controlled OpenAPI description inject unvalidated `stat
Code injection in Microsoft Kiota 0.5.0 through pre-1.35.0 allows attacker-controlled text embedded in an OpenAPI descri
PHP code generation in Microsoft Kiota prior to 1.32.4 permits injection of arbitrary PHP code when the generator proces
Code-generation injection in Microsoft Kiota's C# XML documentation-comment writer allows an attacker who controls or co
Code injection in Microsoft Kiota Ruby code generator allows remote code execution through crafted OpenAPI specification
Code injection in Microsoft Kiota's Python client generator (versions prior to 1.32.0) allows an attacker who controls a
Build-time SSRF, remote file inclusion, and local file inclusion in Microsoft Kiota before 1.32.5 lets an attacker-contr
Code injection in Microsoft Kiota versions prior to 1.31.1 allows attackers who control or tamper with OpenAPI descripti
Arbitrary file write via path traversal in Microsoft Kiota (OpenAPI HTTP client/plugin code generator) before 1.32.5 all
EUVD-2026-93424
GHSA-6gw6-rv2g-25mg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB