SCA: security update for Microsoft.OpenAPI.Kiota, Microsoft.OpenAPI.Kiota.Builder, Microsoft.OpenApi.Kiota, Microsoft.OpenApi.Kiota.Builder (GHSA-7f3j-j7jj-r3vr)

high Tenable Cloud Security Plugin ID 445244

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-59862)

Solution

Update the Microsoft.OpenApi.Kiota library and its related packages to version 1.29.1 or later.

See Also

https://github.com/advisories/GHSA-7f3j-j7jj-r3vr

Plugin Details

Severity: High

ID: 445244

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 7/24/2026

Updated: 8/17/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.06

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-59862

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/24/2026

Vulnerability Publication Date: 7/16/2026

Reference Information

CVE: CVE-2026-59862

cwe: CWE-94