Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Microsoft.OpenApi.Kiota.Builder
  4. ›
  5. CVE-2026-59867

CVE-2026-59867: Microsoft Kiota: Generation-time SSRF + remote/local file inclusion via unrestricted $ref

July 24, 2026

Microsoft Kiota resolved OpenAPI $refs by fetching remote http(s) URLs and reading local files (including absolute / out-of-tree paths), inlining the referenced schema into the generated client. Running kiota generate on a spec whose $ref pointed at an attacker/internal URL or an arbitrary local file yielded SSRF, remote file inclusion, and local file inclusion. Verified on 1.32.3 / 1.32.4.

References

  • github.com/advisories/GHSA-rg4h-fpcp-2qm8
  • github.com/microsoft/kiota/commit/cccd798027f0a20db796b3df6c64f9897a39d7b1
  • github.com/microsoft/kiota/pull/7888
  • github.com/microsoft/kiota/releases/tag/v1.32.5
  • github.com/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8
  • nvd.nist.gov/vuln/detail/CVE-2026-59867

Code Behaviors & Features

Detect and mitigate CVE-2026-59867 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.32.5

Fixed versions

  • 1.32.5

Solution

Upgrade to version 1.32.5 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

nuget/Microsoft.OpenApi.Kiota.Builder/CVE-2026-59867.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:19 +0000.