Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or tamper with upstream OpenAPI spec
-
DeliveryInject percent-encoded path traversal in static_template.file field
-
ExploitDeveloper or pipeline runs vulnerable Kiota, validator bypassed
-
ExecutionManifest emitted with unvalidated file reference
-
PersistAI host deploys manifest and resolves traversal path
-
ImpactSensitive files disclosed outside package boundary
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 that the attacker control or tamper with the OpenAPI description consumed by Kiota - for example, via a compromised upstream API spec repository, substitution of a remotely fetched spec via a man-in-the-middle position, or a developer deliberately or inadvertently using a malicious spec. The OpenAPI description must use the x-ai-capabilities response semantics static_template extension or the x-ai-adaptive-card extension, as the file field within these extensions is the specific injection point. Kiota must be running a vulnerable version (prior to 1.29.1, or 1.30.0 through 1.33.x). The generated manifest must subsequently be deployed to and consumed by an AI host that resolves file references - meaning the file disclosure is deferred to runtime of the AI host, not to Kiota code-generation time. Limiting factors include: the attacker cannot directly exploit Kiota over the network without first achieving supply chain access to the spec source; exploitation is not triggered by simply sending a network request to a running Kiota instance; and actual sensitive file disclosure depends on the AI host's file resolution behavior and local filesystem layout at deploy time. |
| Impact | The CVSS 4.0 score of 6.1 (Medium) accurately reflects the split impact model: Kiota itself sustains no direct impact (VC:N/VI:N/VA:N), but the subsequent system - the AI host consuming the generated manifest - faces high confidentiality impact (SC:H). The UI:A metric acknowledges that a developer or automated pipeline must actively process the malicious OpenAPI description with Kiota before any harm can occur. No EPSS data was provided in the input, and this vulnerability is not listed in CISA KEV, meaning no confirmed active exploitation. The practical exploitation barrier is meaningful: an attacker must successfully control or intercept the OpenAPI spec consumed by Kiota, typically through supply chain compromise, a tampered upstream repository, or a developer fetching a spec from an untrusted source. However, the breadth of bypass techniques documented in the GHSA advisory - percent-encoding, double-encoding, NUL-byte truncation, Unicode homoglyphs - indicates the original validator was fundamentally flawed, and the vulnerability would be easy to exploit by anyone who clears the initial prerequisite of controlling the spec. Organizations running Kiota in automated pipelines that consume third-party or externally hosted OpenAPI specs without integrity verification face the highest real-world risk. |
| Exploit ScenarioDerived | A threat actor who has compromised an upstream OpenAPI specification repository inserts a malicious x-ai-capabilities static_template file reference using a percent-encoded path traversal payload such as %2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd. A developer or CI/CD pipeline runs a vulnerable version of Kiota against this specification; the IsSafeFileReference validator accepts the encoded reference as safe and writes it verbatim into the generated plugin manifest. When the manifest is deployed to an AI host, the host resolves the reference relative to the package root, reads /etc/passwd or another targeted sensitive file, and exposes its contents to the AI application or its logs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Path traversal in Microsoft Kiota's AI plugin manifest generator allows an attacker who controls or tampers with the OpenAPI description input to inject percent-encoded file references - including double-encoded sequences, NUL-byte payloads, and Unicode full-width homoglyphs - that bypass the IsSafeFileReference validator and are written verbatim into the generated plugin manifest. When an AI host deploys and resolves the manifest, it can access files outside the intended package boundary, leading to disclosure of sensitive files such as /etc/passwd. The vulnerability affects nuget/Microsoft.OpenApi.Kiota versions prior to 1.29.1 and 1.30.0 through 1.33.x; no public exploit or active exploitation is confirmed at time of analysis.
RemediationAI
Upgrade nuget/Microsoft.OpenApi.Kiota to version 1.29.1 if on the 1.29.x branch, or to version 1.34.0 if on 1.30.x through 1.33.x; both releases are confirmed fixed per the GHSA advisory and GitHub release tags at https://github.com/microsoft/kiota/releases/tag/v1.29.1 and https://github.com/microsoft/kiota/releases/tag/v1.34.0. Note that the partial mitigation introduced in v1.32.5 via IsSafeFileReference is insufficient and was bypassed via percent-encoding - versions between 1.32.5 and 1.33.x should not be treated as safe. As a compensating control where immediate upgrade is not feasible, restrict Kiota to processing only OpenAPI descriptions sourced from trusted, integrity-verified origins; avoid fetching specs from untrusted URLs without cryptographic hash or signature verification. In CI/CD pipelines, pin the input OpenAPI spec to a known-good revision and validate integrity before invoking Kiota. Disabling the x-ai-capabilities and x-ai-adaptive-card extension processing entirely, if not required, would eliminate the vulnerable code path but may break intended AI plugin generation functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 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 generates AI plugin manifests from OpenAPI descriptions that may contain x-ai-capabilities response semantics static_template or x-ai-adaptive-card extensions. The file field within these extensions is written into the manifest's response_semantics.static_template.file and later resolved by the AI host relative to the plugin package directory. The root cause (CWE-22, Path Traversal) is that the IsSafeFileReference validator in OpenApiAiCapabilitiesExtension.cs inspected the raw, un-decoded reference string. Percent-encoded traversal sequences (%2e%2e%2f for ../), double-encoded sequences (%252e%252e%252f), NUL-byte injections (%00) to truncate path segments, and Unicode full-width homoglyphs (U+FF0E U+FF0E as stand-ins for ..) all bypassed literal-string checks and were emitted verbatim into the manifest. A partial mitigation shipped in v1.32.5 introduced the validator but left the percent-encoding bypass unaddressed; the complete fix, released in v1.29.1 and v1.34.0, adds bounded multi-pass URL decoding, fail-closed behavior on residual encoding beyond the decode budget, control-character rejection, and NFKC Unicode normalization before validation. The affected package is nuget/Microsoft.OpenApi.Kiota; a formal NVD CPE string was not published at time of analysis.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Requires developer interaction to process malicious spec (UI:R); impact is on the downstream AI host system (S:C, C:H); no integrity or availability impact applies.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.34.0, an attacker who controls or tampers with the OpenAPI description consumed by Kiota can supply a file reference that resolves outside the manifest package (e.g. ../../../../etc/passwd, an absolute path, or a file:// / http(s):// URI). When the generated manifest is deployed and consumed by an AI host, this can lead to inclusion or disclosure of files outside the intended package boundary. This vulnerability is fixed in 1.29.1 and 1.34.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.
EUVD-2026-60233
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB