CVE-2026-73851

Kiota: Path traversal in generated plugin manifest static_template.file reference (percent-encoding bypass)

Published Aug 17, 2026 CVSS 4.0 · 6.1 Medium EPSS 2.3% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft kiota
Vendors & Products Microsoft
Microsoft kiota
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-22

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

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 17, 2026, 3:26 PM
Reserved
Aug 13, 2026, 5:44 PM
Status
Deferred
Published
Aug 17, 2026, 3:16 PM
Modified
Oct 24, 2026, 3:10 PM