CVE-2026-59867: microsoft kiota · Path Traversal
Affects microsoft kiotaSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 1.31.1 or 1.29.1 soon.
Data as of 27 Nov 2026, 22:51 UTC
- EPSS
- 2.3% chance of exploitation in 30 days – higher than 84% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.31.1, 1.29.1, 1.32.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade kiota to 1.31.1 or 1.29.1; Microsoft.OpenApi.Kiota and Microsoft.OpenApi.Kiota.Builder to 1.32.5; Microsoft.OpenApi.Kiota and Microsoft.OpenApi.Kiota.Builder to 1.29.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| microsoftkiota | Affected
| Fixed in
|
| microsoftkiota | Affected
| Fixed in
|
NuGetMicrosoft.OpenApi.Kiotapkg:nuget/Microsoft.OpenApi.KiotaOther threats | Affected
| Fixed in
|
NuGetMicrosoft.OpenApi.Kiotapkg:nuget/Microsoft.OpenApi.KiotaOther threats | Affected
| Fixed in
|
NuGetMicrosoft.OpenApi.Kiota.Builderpkg:nuget/Microsoft.OpenApi.Kiota.BuilderOther threats | Affected
| Fixed in
|
NuGetMicrosoft.OpenApi.Kiota.Builderpkg:nuget/Microsoft.OpenApi.Kiota.BuilderOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Microsoft Kiota version 1.29.1, 1.32.5, or later. These versions implement a default-deny policy for external $ref resolution, blocking all remote HTTP(S) URLs and local file paths unless explicitly allow-listed via the new --allowed-external-origins parameter. Only trusted origins and paths should be added to the allow-list. No other mitigation is required as the vulnerability is fully addressed by these updates.
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.
References
- github.com/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8 (opens in a new tab)
- github.com/microsoft/kiota/pull/7888 (opens in a new tab)
- github.com/microsoft/kiota/commit/cccd798027f0a20db796b3df6c64f9897a39d7b1 (opens in a new tab)
- github.com/microsoft/kiota/releases/tag/v1.32.5 (opens in a new tab)