CVE-2026-59867 json
Kiota: Generation-time SSRF + remote/local file inclusion via unrestricted $ref
published 2026-07-16 3 mo ago modified 2026-10-24 15 d ago also EUVD-2026-44937 , GHSA-rg4h-fpcp-2qm8
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget Microsoft.OpenApi.Kiota 1.29.1, 1.32.5
- nuget Microsoft.OpenApi.Kiota.Builder 1.29.1, 1.32.5
- microsoft kiota 1.29.1, 1.32.5
- microsoft microsoft.openapi.kiota 1.29.1, 1.32.5
- microsoft microsoft.openapi.kiota.builder 1.29.1, 1.32.5
- github.com/microsoft/kiota@cccd798 commit
- github.com/microsoft/kiota#7888 pull request
- github.com/microsoft/kiota/releases/tag/v1.32.5 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
2.39% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Microsoft.OpenApi.Kiota | >=1.30.0, <1.32.5 <1.29.1 |
1.32.5 1.29.1 |
| nuget | Microsoft.OpenApi.Kiota.Builder | >=1.30.0, <1.32.5 <1.29.1 |
1.32.5 1.29.1 |
Affected products
- microsoft kiota
Classification
References
-
github.com
/microsoft/kiota/pull/7888
web
-
github.com
/microsoft/kiota/commit/cccd798027f0a20db796b3df6c64f9897a39d7b1
web
-
github.com
/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8
web
-
github.com
/microsoft/kiota/releases/tag/v1.32.5
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-59867
advisory
-
github.com
/microsoft/kiota
package
Sources
- CVE List CVE-2026-59867
- GitHub Advisory GHSA-rg4h-fpcp-2qm8
- NVD CVE-2026-59867
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.