Feed/CVE-2026-59866
CVE-2026-59866HIGHCVSS 0.0

CVE-2026-59866

Published Jul 16, 2026·Updated Aug 17, 2026

NVD Description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.5, Kiota emitted x-ms-kiota-info clientClassName and clientNamespaceName values without identifier or path sanitization as both generated client class or namespace names and generated output path components when `kiota generate` ran without -c/--class-name, allowing an attacker-controlled or compromised OpenAPI description to write generated source outside the -o output directory and inject arbitrary text into generated class or namespace declarations. This issue is fixed in version 1.32.5 by GenerationConfiguration.SanitizeClientClassName and SanitizeClientNamespaceName.

Affected Packages (2)

Microsoft.OpenApi.Kiota.BuilderNUGET
From 1.30.0
Fixed in 1.32.5
Microsoft.OpenApi.KiotaNUGET
From 1.30.0
Fixed in 1.32.5

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