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-59864: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in microsoft kiota

0
Critical
VulnerabilityCVE-2026-59864cvecve-2026-59864cwe-22cwe-829
Published: 07/16/2026 (07/16/2026, 14:45:36 UTC)
Source: CVE Database V5
Vendor/Project: microsoft
Product: kiota

Description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.5, `kiota plugin add` and `kiota plugin generate` (with `-t APIPlugin`) emitted attacker-controlled static_template.file values from x-ai-adaptive-card and x-ai-capabilities into generated Microsoft 365 Copilot and Teams plugin manifests without path validation, allowing ../, absolute, rooted, UNC, Windows drive, or URI paths in response_semantics.static_template.file to cause path traversal or out-of-package file inclusion when the generated plugin was deployed. This issue is fixed in version 1.32.5.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

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

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: 07/16/2026, 15:48:01 UTC

Technical Analysis

Microsoft Kiota, an OpenAPI-based HTTP client code generator, had a path traversal vulnerability (CWE-22) in versions before 1.32.5. Specifically, the commands `kiota plugin add` and `kiota plugin generate` (with the APIPlugin target) emitted static_template.file values derived from attacker-controlled fields (x-ai-adaptive-card and x-ai-capabilities) into Microsoft 365 Copilot and Teams plugin manifests without validating the file paths. This lack of validation allowed maliciously crafted paths including directory traversal sequences and absolute or UNC paths to be injected, leading to potential path traversal or inclusion of files outside the intended package scope when the plugin was deployed. The vulnerability has a CVSS 4.0 score of 9.3 (critical) and is fixed in version 1.32.5. The product is a cloud service, so remediation is managed by the vendor.

Potential Impact

Exploitation of this vulnerability could allow an attacker to cause path traversal or include files outside the intended package boundaries in generated Microsoft 365 Copilot and Teams plugins. This can lead to unauthorized file access or manipulation when the plugin is deployed, potentially compromising system integrity or confidentiality. The CVSS score of 9.3 indicates a critical impact with network attack vector, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix is available in Microsoft Kiota version 1.32.5. Since Kiota is a cloud service, Microsoft manages remediation for this service. Users should ensure they are using version 1.32.5 or later. Check the official Microsoft advisory for confirmation and further guidance. No additional mitigation steps are indicated by the vendor advisory.

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-07-07T15:41:53.607Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true

Threat ID: 6a58f9c068715ace434105e8

Added to database: 07/16/2026, 15:33:20 UTC

Last enriched: 07/16/2026, 15:48:01 UTC

Last updated: 07/17/2026, 01:05:24 UTC

Views: 10

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