{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59867","id":"CVE-2026-59867","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 ","descriptionLong":"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":"2026-07-16T14:48:11.958Z","updated":"2026-11-07T02:48:32.911405874Z","reserved":"2026-07-07T15:41:53.607Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["microsoft kiota"],"affectedProducts":[{"vendor":"microsoft","product":"kiota","defaultStatus":null,"versions":[{"version":">= 1.30.0, < 1.31.1","status":"affected"},{"version":"< 1.29.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota","purl":"pkg:nuget/Microsoft.OpenApi.Kiota","ranges":[">=1.30.0 <1.32.5","<1.29.1"],"fixed":["1.32.5","1.29.1"],"advisory":"GHSA-rg4h-fpcp-2qm8"},{"ecosystem":"NuGet","name":"Microsoft.OpenApi.Kiota.Builder","purl":"pkg:nuget/Microsoft.OpenApi.Kiota.Builder","ranges":[">=1.30.0 <1.32.5","<1.29.1"],"fixed":["1.32.5","1.29.1"],"advisory":"GHSA-rg4h-fpcp-2qm8"}],"cwes":["CWE-22","CWE-829","CWE-918"],"aliases":["GHSA-rg4h-fpcp-2qm8"],"references":[{"url":"https://github.com/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/microsoft/kiota/pull/7888","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/microsoft/kiota/commit/cccd798027f0a20db796b3df6c64f9897a39d7b1","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/microsoft/kiota/releases/tag/v1.32.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59867.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59867","tags":["advisory"]},{"url":"https://github.com/microsoft/kiota","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.02393,"epssPercentile":0.84334,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59867","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59867","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59867","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rg4h-fpcp-2qm8","ok":true,"note":"GHSA-rg4h-fpcp-2qm8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59867","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}