CVE-2026-105796 — Vulnerability in Microsoft.OpenApi.Kiota — CVE...
Kiota: Code injection through doc-comment delimiter reformation in Kiota Java and PHP generators
Summary
Advisory Timeline
- First published October 6, 2026 (6 days ago).
- Last revised October 6, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Microsoft.OpenApi.Kiota --version 1.35.0
dotnet add package Microsoft.OpenApi.Kiota.Builder --version 1.35.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: nuget (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| Microsoft.OpenApi.Kiota | nuget | 0.10.0-preview, 0.11.0-preview, 0.11.1-preview, 0.5.1-preview (+66 more) | 1.35.0 |
| Microsoft.OpenApi.Kiota.Builder | nuget | 0.5.1-preview, 0.6.0-preview, 0.7.1-preview, 1.0.0 (+38 more) | 1.35.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/microsoft/kiota/security/advisories/GHSA-rm89-rhwj-9j92WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-105796ADVISORY
- https://github.com/microsoft/kiota/pull/8017WEB
- https://github.com/microsoft/kiota/commit/68f33b865be9273464a6efbbe17379760e51f1a4WEB
- https://github.com/microsoft/kiotaPACKAGE
- https://github.com/microsoft/kiota/releases/tag/v1.35.0WEB
Frequently Asked Questions
- What is CVE-2026-105796?
- Kiota: Code injection through doc-comment delimiter reformation in Kiota Java and PHP generators This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2026-105796?
- CVE-2026-105796 affects Microsoft.OpenApi.Kiota and Microsoft.OpenApi.Kiota.Builder. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-105796 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-59864CRITICAL
Microsoft Kiota: Path/URL injection into generated Copilot plugin manifest via x-ai-* extensions
- CVE-2026-59865CRITICAL
Microsoft Kiota: Command injection via x-ms-kiota-info dependencyInstallCommand surfaced by `kiota info`
- CVE-2026-59860HIGH
Microsoft Kiota: XML Doc-Comment Newline Breakout Code Injection
- CVE-2026-59863HIGH
Microsoft Kiota Workspace-config poisoning: out-of-repo file write + generation-time SSRF
- CVE-2026-59866HIGH
Microsoft Kiota: Arbitrary file write + code-injection via x-ms-kiota-info clientClassName and clientNamespaceName
- CVE-2026-59862HIGH
Microsoft Kiota: Code Generation Literal Injection in Kiota Python Generator
- CVE-2026-59859HIGH
Microsoft Kiota: Code Generation Literal Injection in Kiota PHP Generator
- CVE-2026-59867HIGH
Microsoft Kiota: Generation-time SSRF + remote/local file inclusion via unrestricted $ref
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies