{"id":"CVE-2026-59867","revision":"fb3d5659d2fd4cc39b12772f2c96d263","records":[{"revision":"fb3d5659d2fd4cc39b12772f2c96d263","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59867","aliases":[],"title":"Kiota: Generation-time SSRF + remote/local file inclusion via unrestricted $ref","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.","state":0,"publishedAt":"2026-07-16T14:48:11.958+00:00","modifiedAt":"2026-08-17T15:03:35.538+00:00","affected":[{"ecosystem":"Vendor product","name":"kiota","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"microsoft\",\n                    \"product\": \"kiota\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.30.0, < 1.31.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"< 1.29.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"severity":"HIGH"}],"references":["https://github.com/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8","https://github.com/microsoft/kiota/pull/7888","https://github.com/microsoft/kiota/commit/cccd798027f0a20db796b3df6c64f9897a39d7b1","https://github.com/microsoft/kiota/releases/tag/v1.32.5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59867","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59867","identifiers":["CVE-2026-59867"]},"retained":false,"historicalAffected":[]}],"coverage":[]}