Description
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.
Published: 2026-08-17
Score: 6.1 Medium
EPSS: 1.5% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Kiota, an OpenAPI‑based HTTP client code generator, fails to validate file references in the generated plugin manifest. A malicious OpenAPI definition can specify a path that resolves outside the intended package—such as ../.. paths, absolute file system locations, or http/https:// URLs—allowing the generated manifest to reference files like /etc/passwd. This flaw is a classic path traversal (CWE‑22) compounded by a configuration inclusion weakness (CWE‑829), and it can lead to disclosure of sensitive data through the AI host that consumes the manifest.

Affected Systems

Microsoft Kiota. Versions before 1.29.1 and 1.34.0 are vulnerable. Updating to any release from 1.29.1 onward removes the issue.

Risk and Exploitability

The CVSS base score of 6.1 indicates a moderate severity vulnerability. With an EPSS score of 1%, the probability of exploitation is low, and the vulnerability is not listed in the CISA KEV catalog. An attacker must supply a tampered OpenAPI description that Kiota processes to generate a manifest, and the consuming host must resolve the unvalidated reference. While this limits the attack surface to environments that ingest third‑party OpenAPI specifications—such as CI/CD pipelines or developer tooling—the impact is a disclosure of files outside the package boundary.

Generated by OpenCVE AI on August 18, 2026 at 15:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Kiota to version 1.29.1 or later (including 1.34.0 and newer).
  • Validate all OpenAPI specifications against trusted sources before running them through Kiota.
  • Limit the paths that the generated manifest can reference or manually check the manifest for unexpected file references.

Generated by OpenCVE AI on August 18, 2026 at 15:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p5rm-jg5c-8c77 Microsoft Kiota: Path traversal in generated plugin manifest static_template.file reference (percent-encoding bypass)
History

Mon, 17 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft
Microsoft kiota
Vendors & Products Microsoft
Microsoft kiota

Mon, 17 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Kiota: Path traversal in generated plugin manifest static_template.file reference (percent-encoding bypass)
Weaknesses CWE-22
CWE-829
References
Metrics cvssV4_0

{'score': 6.1, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-17T15:26:40.140Z

Reserved: 2026-08-13T17:44:28.644Z

Link: CVE-2026-73851

cve-icon Vulnrichment

Updated: 2026-08-17T15:26:33.630Z

cve-icon NVD

Status : Received

Published: 2026-08-17T15:16:57.980

Modified: 2026-08-17T16:17:47.677

Link: CVE-2026-73851

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T15:15:03Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere