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

CVE-2026-59861: Microsoft Kiota: Code Generation Literal Injection in Kiota Ruby Generator

July 24, 2026

Code Generation Literal Injection in Kiota Ruby Generator Leads to Arbitrary Code Execution

References

  • github.com/advisories/GHSA-xg2h-5xr2-29jw
  • github.com/microsoft/kiota/commit/fee1b648bb4394ba7ba72de9c0ce4f2a0bad0cb6
  • github.com/microsoft/kiota/pull/7746
  • github.com/microsoft/kiota/releases/tag/v1.32.0
  • github.com/microsoft/kiota/security/advisories/GHSA-xg2h-5xr2-29jw
  • nvd.nist.gov/vuln/detail/CVE-2026-59861

Code Behaviors & Features

Detect and mitigate CVE-2026-59861 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.0

Fixed versions

  • 1.32.0

Solution

Upgrade to version 1.32.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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