Vulnerability · Published Jul 16, 2026 · Assigned by GitHub_M

CVE-2026-59867Kiota: Generation-time SSRF + remote/local file inclusion via unrestricted $ref

High 7.1

In plain English

A high-severity path traversal in kiota from microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)2.4%top 16.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.5, Kiota resolved OpenAPI $ref values by fetching remote http(s) URLs and reading local absolute or out-of-tree file paths, allowing `kiota generate` on an attacker-controlled or attacker-influenced description to perform build-time SSRF, remote file inclusion, and local file inclusion by inlining external schemas such as REMOTE_KIOTA_PROP or Leaked into generated clients. This issue is fixed in version 1.29.1 and 1.32.5 by AllowedExternalOriginsStreamLoader and the --allowed-external-origins option.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
NuGetmicrosoft.openapi.kiota1.32.5GHSA-rg4h-fpcp-2qm8
NuGetmicrosoft.openapi.kiota1.29.1GHSA-rg4h-fpcp-2qm8
NuGetmicrosoft.openapi.kiota.builder1.32.5GHSA-rg4h-fpcp-2qm8
NuGetmicrosoft.openapi.kiota.builder1.29.1GHSA-rg4h-fpcp-2qm8

Affected products (as reported)

VendorProductVersions
microsoft kiota >= 1.30.0, < 1.31.1< 1.29.1

Weakness: CWE-22, CWE-829, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

References