High severity7.1NVD Advisory· Published Jul 16, 2026· Updated Aug 17, 2026
CVE-2026-59867
CVE-2026-59867
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Microsoft.OpenApi.KiotaNuGet | >= 1.30.0, < 1.32.5 | 1.32.5 |
Microsoft.OpenApi.Kiota.BuilderNuGet | >= 1.30.0, < 1.32.5 | 1.32.5 |
Microsoft.OpenApi.KiotaNuGet | < 1.29.1 | 1.29.1 |
Microsoft.OpenApi.Kiota.BuilderNuGet | < 1.29.1 | 1.29.1 |
Affected products
1- Range: <1.29.1, <1.32.5
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-rg4h-fpcp-2qm8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-59867ghsaADVISORY
- github.com/microsoft/kiota/commit/cccd798027f0a20db796b3df6c64f9897a39d7b1nvdWEB
- github.com/microsoft/kiota/pull/7888nvdWEB
- github.com/microsoft/kiota/releases/tag/v1.32.5nvdWEB
- github.com/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8nvdWEB
News mentions
0No linked articles in our index yet.