CVE-2026-105796Kiota: Code injection through doc-comment delimiter reformation in Kiota Java and PHP generators
Updated under an hour ago ()
Does this affect you?
It affects microsoft kiota and 2 other products. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.90%, higher than 59% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.8 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-94
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.90% (percentile 59)
- Assigned by
- GitHub_M
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 9, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
microsoft kiota microsoft:kiota (from the name) | from 0.5.0, < 1.35.0 | CNA record |
microsoft Microsoft.OpenApi.Kiota microsoft:microsoft.openapi.kiota (from the name) | from 0.5.0, < 1.35.0 | CNA record |
microsoft Microsoft.OpenApi.Kiota.Builder microsoft:microsoft.openapi.kiota.builder (from the name) | from 0.5.0, < 1.35.0 | CNA record |
References
- https://github.com/microsoft/kiota/security/advisories/GHSA-rm89-rhwj-9j92x-refsource-confirm
- https://github.com/microsoft/kiota/pull/8017x-refsource-misc
- https://github.com/microsoft/kiota/commit/68f33b865be9273464a6efbbe17379760e51f1a4x-refsource-misc
- https://github.com/microsoft/kiota/releases/tag/v1.35.0x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.