CVE Catalog

CVE-2026-59860

HighCVSS 8.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.02%

60th percentile - higher than 60% of all known CVEs

Summary

Kiota before versions 1.29.1 and 1.32.3 has a code-generation injection vulnerability in the C# XML documentation-comment sink, where text from an OpenAPI description is written without stripping newline characters, allowing injection of additional code into generated C# clients.

Risk Assessment

An attacker can use a malicious OpenAPI description to inject malicious code into generated C# files, potentially leading to code execution during build or runtime.

Recommendation

Update Kiota to version 1.29.1 or 1.32.3 to get XML doc comment sanitization fixes.

Other vulnerabilities in Kiota

See all
Original NVD description (English source)

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.3, Kiota is affected by a code-generation injection vulnerability in the C# XML documentation-comment sink (the description, externalDocs label, and externalDocs link fields emitted as /// … comments). When text from an OpenAPI description is written into single-line XML doc comments without stripping newline and Unicode line-terminator characters, an attacker can break out of the /// comment line and inject additional code into generated C# clients. This issue is fixed in version 1.29.1 and 1.32.3.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS