Read the docs
TI-2026-42675 Aliases CVE-2026-59860GHSA-3hrf-2gc2-mx32

Kiota: XML Doc-Comment Newline Breakout Code Injection

Priority MEDIUM 42CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.3, Kiota is affected by a code-generation injection vulnerability in the C# XML documentation-comment sink (the description, externalDocs label, and externalDocs link fields emitted as /// … comments). When text from an OpenAPI description is written into single-line XML doc comments without stripping newline and Unicode line-terminator characters, an attacker can break out of the /// comment line and inject additional code into generated C# clients. This issue is fixed in version 1.29.1 and 1.32.3.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01381 72nd percentileScored 2026-11-07
Fix Fixed kiota (microsoft): 1.31.1, 1.29.1Microsoft.OpenApi.Kiota (NuGet): 1.32.3, 1.29.1+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Microsoftkiota1.30.0 to before 1.31.1; before 1.29.11.31.1, 1.29.1Patch availableCNA
—Microsoft.OpenApi.Kiota (NuGet)1.30.0 to before 1.32.31.32.3Patch availableGHSA-3hrf-2gc2-mx32
—Microsoft.OpenApi.Kiota.Builder (NuGet)1.30.0 to before 1.32.31.32.3Patch availableGHSA-3hrf-2gc2-mx32
—Microsoft.OpenApi.Kiota (NuGet)before 1.29.11.29.1Patch availableGHSA-3hrf-2gc2-mx32
—Microsoft.OpenApi.Kiota.Builder (NuGet)before 1.29.11.29.1Patch availableGHSA-3hrf-2gc2-mx32
  • kiota VendorMicrosoft Affected 1.30.0 to before 1.31.1; before 1.29.1 Fixed in 1.31.1, 1.29.1 Patch available CNA
  • Microsoft.OpenApi.Kiota (NuGet) Vendor— Affected 1.30.0 to before 1.32.3 Fixed in 1.32.3 Patch available GHSA-3hrf-2gc2-mx32
  • Microsoft.OpenApi.Kiota.Builder (NuGet) Vendor— Affected 1.30.0 to before 1.32.3 Fixed in 1.32.3 Patch available GHSA-3hrf-2gc2-mx32
  • Microsoft.OpenApi.Kiota (NuGet) Vendor— Affected before 1.29.1 Fixed in 1.29.1 Patch available GHSA-3hrf-2gc2-mx32
  • Microsoft.OpenApi.Kiota.Builder (NuGet) Vendor— Affected before 1.29.1 Fixed in 1.29.1 Patch available GHSA-3hrf-2gc2-mx32

Remediation

  • Fix · CNA kiota (microsoft) Fixed in 1.31.1, 1.29.1
  • Fix · GHSA-3hrf-2gc2-mx32 Microsoft.OpenApi.Kiota (NuGet) Fixed in 1.32.3 Advisory →
  • Fix · GHSA-3hrf-2gc2-mx32 Microsoft.OpenApi.Kiota.Builder (NuGet) Fixed in 1.32.3 Advisory →
  • Fix · GHSA-3hrf-2gc2-mx32 Microsoft.OpenApi.Kiota (NuGet) Fixed in 1.29.1 Advisory →
  • Fix · GHSA-3hrf-2gc2-mx32 Microsoft.OpenApi.Kiota.Builder (NuGet) Fixed in 1.29.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-59860
  2. 2026-10-03 Alias added: GHSA-3hrf-2gc2-mx32

References

  • TI-2026-42212 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-37256 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-26194 Windows Internet Key Exchange (IKE) Service Extensions Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-16982 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-36863 Windows Server Update Service (WSUS) Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-33671 Microsoft SharePoint Server Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
See all 18045 →

Sources