Skip to main content

Microsoft Kiota CVE-2026-73851

| EUVDEUVD-2026-60233 MEDIUM
Path Traversal (CWE-22)
2026-08-17 security-advisories@github.com
6.1
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Control or tamper with upstream OpenAPI spec
  2. Delivery
    Inject percent-encoded path traversal in static_template.file field
  3. Exploit
    Developer or pipeline runs vulnerable Kiota, validator bypassed
  4. Execution
    Manifest emitted with unvalidated file reference
  5. Persist
    AI host deploys manifest and resolves traversal path
  6. Impact
    Sensitive 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 1.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

kiota < 1.29.1
kiota 1.30.0, < 1.34.0

Affected Packages

nuget microsoft.openapi.kiota fix: 1.29.1, 1.34.0
euvd kiota fix: 1.29.1, 1.34.0

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

Vendor (github) PRIMARY 6.1 MEDIUM
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
vuln.today AI 7.4 HIGH

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.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 17, 2026 - 16:02 EUVD

DescriptionCVE.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

EPSS Score
1.5%
Top 28% exploitable
Prevalence
Low
developer toolchain, primarily Microsoft and Azure SDK ecosystem
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 1.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +30
PoC: 0
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.

Vendor StatusVendor

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