Answer in brief
CVE-2026-59862 records a High severity (CVSS 7.5) vulnerability in Kiota: Code Generation Literal Injection in the Python Generator. The current sources do not mark it as known exploited. The current feed maps microsoft/kiota (generic), Microsoft.OpenApi.Kiota (nuget), Microsoft.OpenAPI.Kiota (nuget), Microsoft.OpenApi.Kiota.Builder (nuget) and additional mapped packages. Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 7.5. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps microsoft/kiota (generic), Microsoft.OpenApi.Kiota (nuget), Microsoft.OpenAPI.Kiota (nuget), Microsoft.OpenApi.Kiota.Builder (nuget) and additional mapped packages. Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| microsoft/kiotageneric | >= 1.30.0, < 1.31.1 || < 1.29.1 | Not reported |
| Microsoft.OpenApi.Kiotanuget | <1.29.1 | 1.29.1 |
| Microsoft.OpenAPI.Kiotanuget | >=1.30.0,<1.32.0 | 1.32.0 |
| Microsoft.OpenApi.Kiota.Buildernuget | <1.29.1 | 1.29.1 |
| Microsoft.OpenAPI.Kiota.Buildernuget | >=1.30.0,<1.32.0 | 1.32.0 |
Published upstream
Jul 16, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Aug 17, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Jul 16, 2026
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.0, Kiota's Python generator let attacker-controlled enum value descriptions from x-ms-enum.values[].description flow through KiotaBuilder.SetEnumOptions into Documentation.DescriptionTemplate and PythonConventionService.RemoveInvalidDescriptionCharacters without newline sanitization, allowing generated inline comments to split and execute attacker-controlled Python code at module scope when generated modules were imported. This issue is fixed in version 1.29.1 and 1.32.0.
Quoted source text, attributed separately from HOL analysis.
Answer in brief
CVE-2026-59862 records a High severity (CVSS 7.5) vulnerability in Kiota: Code Generation Literal Injection in the Python Generator. The current sources do not mark it as known exploited. The current feed maps microsoft/kiota (generic), Microsoft.OpenApi.Kiota (nuget), Microsoft.OpenAPI.Kiota (nuget), Microsoft.OpenApi.Kiota.Builder (nuget) and additional mapped packages. Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 7.5. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps microsoft/kiota (generic), Microsoft.OpenApi.Kiota (nuget), Microsoft.OpenAPI.Kiota (nuget), Microsoft.OpenApi.Kiota.Builder (nuget) and additional mapped packages. Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| microsoft/kiotageneric | >= 1.30.0, < 1.31.1 || < 1.29.1 | Not reported |
| Microsoft.OpenApi.Kiotanuget | <1.29.1 | 1.29.1 |
| Microsoft.OpenAPI.Kiotanuget | >=1.30.0,<1.32.0 | 1.32.0 |
| Microsoft.OpenApi.Kiota.Buildernuget | <1.29.1 | 1.29.1 |
| Microsoft.OpenAPI.Kiota.Buildernuget | >=1.30.0,<1.32.0 | 1.32.0 |
Published upstream
Jul 16, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Aug 17, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Jul 16, 2026
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.0, Kiota's Python generator let attacker-controlled enum value descriptions from x-ms-enum.values[].description flow through KiotaBuilder.SetEnumOptions into Documentation.DescriptionTemplate and PythonConventionService.RemoveInvalidDescriptionCharacters without newline sanitization, allowing generated inline comments to split and execute attacker-controlled Python code at module scope when generated modules were imported. This issue is fixed in version 1.29.1 and 1.32.0.
Quoted source text, attributed separately from HOL analysis.