๐Ÿ” CVE Alert

CVE-2026-105796

HIGH 8.8

Kiota: Code injection through doc-comment delimiter reformation in Kiota Java and PHP generators

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-94
Vendor microsoft
Product kiota
Ecosystems
Industries
TechnologyEnterprise
Published Oct 6, 2026
Stay Ahead of the Next One

Get instant alerts for microsoft kiota

Be the first to know when new high vulnerabilities affecting microsoft kiota are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

microsoft / kiota
>= 0.5.0, < 1.35.0
microsoft / Microsoft.OpenApi.Kiota
>= 0.5.0, < 1.35.0
microsoft / Microsoft.OpenApi.Kiota.Builder
>= 0.5.0, < 1.35.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/microsoft/kiota/security/advisories/GHSA-rm89-rhwj-9j92 github.com: https://github.com/microsoft/kiota/pull/8017 github.com: https://github.com/microsoft/kiota/commit/68f33b865be9273464a6efbbe17379760e51f1a4 github.com: https://github.com/microsoft/kiota/releases/tag/v1.35.0