Feed/CVE-2026-59862
CVE-2026-59862HIGHCVSS 7.5

CVE-2026-59862

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 Python generator let attacker-controlled enum value descriptions from x-ms-enum.values[].description flow through KiotaBuilder.SetEnumOptions into Documentation.DescriptionTemplate and PythonConventionService.RemoveInvalidDescriptionCharacters without newline sanitization, allowing generated inline comments to split and execute attacker-controlled Python code at module scope when generated modules were imported. This issue is fixed in version 1.32.0.

Affected Packages (4)

Microsoft.OpenAPI.KiotaNUGET
From 1.30.0
Fixed in 1.32.0
Microsoft.OpenAPI.Kiota.BuilderNUGET
From 1.30.0
Fixed in 1.32.0
Microsoft.OpenApi.KiotaNUGET
Fixed in 1.29.1
Microsoft.OpenApi.Kiota.BuilderNUGET
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