CVE-2026-105796Kiota: Code injection through doc-comment delimiter reformation in Kiota Java and PHP generators
- 8.8HighCVSS base score
- 0.90%Exploitation in 30 daysEPSS · top 40% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
- 3 days later
· 3 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.90% · top 40% of all CVEs (20 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
- affected >= 0.5.0, < 1.35.0
microsoft · Microsoft.OpenApi.Kiota
- affected >= 0.5.0, < 1.35.0
microsoft · Microsoft.OpenApi.Kiota.Builder
- affected >= 0.5.0, < 1.35.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- NuGetMicrosoft.OpenApi.KiotaGHSA-rm89-rhwj-9j92 (opens in a new tab)
- NuGetMicrosoft.OpenApi.Kiota.BuilderGHSA-rm89-rhwj-9j92 (opens in a new tab)
References
References4
- https://github.com/microsoft/kiota/security/advisories/GHSA-rm89-rhwj-9j92 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/microsoft/kiota/pull/8017 (opens in a new tab)x_refsource_MISC
- https://github.com/microsoft/kiota/commit/68f33b865be9273464a6efbbe17379760e51f1a4 (opens in a new tab)x_refsource_MISC
- https://github.com/microsoft/kiota/releases/tag/v1.35.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-93425 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rm89-rhwj-9j92 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-105796)Record last updated .