CVE-2026-105796
Published:October 06, 2026
Updated:October 09, 2026
Kiota is an OpenAPI based HTTP Client code generator. From 0.5.0 until 1.35.0, Kiota's Java and PHP documentation-comment sanitizers delete block-comment terminators rather than neutralizing them, allowing overlapping characters to reform a terminator and place attacker-controlled OpenAPI text outside a generated documentation comment. The Java sanitizer also removes non-ASCII characters after deleting terminators, which can create a new terminator during normalization. Exploitation requires a developer or build pipeline to generate source from the malicious description and then compile and load the Java output or load the PHP output, after which injected code executes in the consuming application or build environment context. The version range is based on the Java defect and does not assert that PHP generation existed in every affected release. This issue is fixed in version 1.35.0.
Affected Packages
Kiota.Builder (DOT_NET):
Affected version(s) >=1.0.0.0 <1.35.0Fix Suggestion:
Update to version 1.35.0https://github.com/microsoft/kiota.git (GITHUB):
Affected version(s) >=v1.0.0 <v1.35.0Fix Suggestion:
Update to version v1.35.0microsoft.openapi.kiota.builder (NUGET):
Affected version(s) >=1.0.0 <1.35.0Fix Suggestion:
Update to version 1.35.0microsoft.openapi.kiota (NUGET):
Affected version(s) >=1.0.0 <1.35.0Fix Suggestion:
Update to version 1.35.0Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.90