SCA: security update for Microsoft.OpenApi.Kiota, Microsoft.OpenApi.Kiota.Builder (GHSA-4vv7-jj25-4gh6)

critical Tenable Self-Hosted Container Security Plugin ID 445269

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.5, Kiota emitted x-ms-
kiota-info clientClassName and clientNamespaceName values without identifier or path sanitization as both
generated client class or namespace names and generated output path components when `kiota generate` ran
without -c/--class-name, allowing an attacker-controlled or compromised OpenAPI description to write
generated source outside the -o output directory and inject arbitrary text into generated class or
namespace declarations. This issue is fixed in version 1.29.1 and 1.32.5 by
GenerationConfiguration.SanitizeClientClassName and SanitizeClientNamespaceName. (CVE-2026-59866)

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-4vv7-jj25-4gh6

Plugin Details

Severity: Critical

ID: 445269

Version: Revision 1.3

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: 6.9

Percentile: 96.84

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-59866

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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-59866