Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

Kiota code generator can insert malicious code into C# client

published 3 days ago
Summary

The Kiota tool that creates C# client code from OpenAPI specifications can embed attacker-controlled text into the generated source files. This allows malicious code to be added to the client applications that are built from those files. Upgrade Kiota to version 1.29.1 or later (or 1.32.3 for newer releases) to stop the issue.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
Docker Hardened Images:Debian:13 docker hardened images apicurio-registry-ui-3.2 All versions
Docker Hardened Images:Debian:13 docker hardened images apicurio-registry-ui-3.3 All versions
Original advisory text
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.3, Kiota is affected by a…
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker full control (estimated)
Severity
9.9 Critical
Timeline
Published18 Nov 2026
Updated18 Nov 2026
First seen18 Nov 2026
Sources
Track software like this
Free during beta