CVE-2026-59867
HIGH 7.1CVSS 3.1Microsoft Kiota: Generation-time SSRF + remote/local file inclusion via unrestricted $ref
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.
- Published
- 16 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-829CWE-918
- Also known as
- GHSA-rg4h-fpcp-2qm8
- Sources
- NVDJSONOSV GHSA-rg4h-fpcp-2qm8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | NuGet | Microsoft.OpenApi.Kiota | >= 1.30.0, < 1.32.5 | 1.32.5 |
| OSV | NuGet | Microsoft.OpenApi.Kiota.Builder | >= 1.30.0, < 1.32.5 | 1.32.5 |
| OSV | NuGet | Microsoft.OpenApi.Kiota | < 1.29.1 | 1.29.1 |
| OSV | NuGet | Microsoft.OpenApi.Kiota.Builder | < 1.29.1 | 1.29.1 |
References
- https://github.com/microsoft/kiota/commit/cccd798027f0a20db796b3df6c64f9897a39d7b1 · WEB
- https://github.com/microsoft/kiota/pull/7888 · WEB
- https://github.com/microsoft/kiota/releases/tag/v1.32.5 · WEB
- https://github.com/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59867 · ADVISORY
- https://github.com/microsoft/kiota · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jul 2026)