Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-73851: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in microsoft kiota

0
Medium
Published: 08/17/2026 (08/17/2026, 15:11:39 UTC)
Source: GCVE Database
Vendor/Project: microsoft
Product: kiota

Description

CVE-2026-73851 is a path traversal vulnerability in Microsoft Kiota affecting versions prior to 1.29.1. It allows an attacker controlling the OpenAPI description to supply crafted file references that resolve outside the intended plugin package, potentially causing unauthorized file inclusion or disclosure. Initial mitigations rejected unsafe paths based on raw strings but failed to decode percent-encoded or obfuscated inputs, allowing bypasses. Subsequent fixes decode inputs before validation and reject control characters and Unicode homoglyphs. Users should upgrade to the first release after version 1.33.0 that includes these fixes. Workarounds include generating plugins only from trusted OpenAPI descriptions and reviewing manifests for unsafe file references.

CVSS v4.0

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
microsoft/kiota
pkg:github/microsoft/kiota
Affected versions
<1.29.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 16:23:18 UTC

Technical Analysis

Microsoft Kiota generates AI plugin manifests from OpenAPI descriptions. When the OpenAPI description includes certain AI capabilities referencing files, these file paths are resolved relative to the plugin package. CVE-2026-73851 arises because Kiota did not properly validate these file references after decoding percent-encoded or obfuscated inputs, allowing path traversal outside the package boundary (CWE-22) and inclusion of untrusted functionality (CWE-829). Initial mitigation in version 1.32.5 checked raw strings but missed encoded bypasses. Follow-up fixes decode references fully before validation, reject control characters, and normalize Unicode to prevent bypasses. The vulnerability affects versions prior to 1.29.1, with fixes included in releases after 1.33.0.

Potential Impact

An attacker who can control or tamper with the OpenAPI description used by Kiota can craft file references that escape the intended plugin package directory. This can lead to inclusion or disclosure of arbitrary files outside the package boundary when the manifest is consumed by an AI host. This may expose sensitive files or cause unintended functionality inclusion, impacting confidentiality and integrity. The CVSS 4.0 score is 6.1 (medium severity), reflecting network attack vector, no privileges required, user interaction needed, and high scope impact.

Mitigation Recommendations

A fix is available in Microsoft Kiota versions released after 1.33.0, which properly decode and validate file references to prevent path traversal. Users should upgrade to these fixed versions. Until upgrading, users should only generate clients/plugins from trusted OpenAPI descriptions and manually review generated plugin manifests to ensure that the 'response_semantics.static_template.file' field contains only simple relative paths within the expected package folder, rejecting any paths with traversal sequences, absolute paths, URIs, or percent-encoded separators.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-13T17:44:28.644Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Gcve Source
db.gcve.eu

Threat ID: 6a83334cbf8831d5392a43fb

Added to database: 08/17/2026, 16:14:04 UTC

Last enriched: 08/17/2026, 16:23:18 UTC

Last updated: 08/17/2026, 22:39:00 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses