Feed/CVE-2026-59861
CVE-2026-59861HIGHCVSS 7.5

CVE-2026-59861

Published Jul 16, 2026·Updated Aug 17, 2026

NVD Description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.0, Kiota's Ruby generator embedded OpenAPI default fields, property names, and other schema-derived strings through CodeMethodWriter.cs and SanitizeForQuotedLiteral() in Writers/StringExtensions.cs into Ruby double-quoted literals without escaping #, allowing attacker-controlled #{expr}, #$var, or #@var interpolation markers to inject arbitrary Ruby code into generated model classes. This issue is fixed in version 1.32.0.

Affected Packages (4)

Microsoft.OpenAPI.Kiota.BuilderNUGET
From 1.30.0
Fixed in 1.32.0
Microsoft.OpenAPI.KiotaNUGET
From 1.30.0
Fixed in 1.32.0
Microsoft.OpenApi.Kiota.BuilderNUGET
Fixed in 1.29.1
Microsoft.OpenApi.KiotaNUGET
Fixed in 1.29.1

CVSS Vector

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

References

View on NVD Search GitHub Search Google

Get alerted for CVEs like this

Register your stack and get notified within minutes when a matching CVE drops.

Start monitoring free