Live threats

All CVEs / microsoft

CVE-2026-59860microsoft kiota

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Jul 16, 2026
Updated
Oct 24, 2026
Category
Application · Windows
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for kiota.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Microsoft.OpenApi.Kiota ≥ 1.30.0 < 1.32.3 1.32.3 dotnet add package Microsoft.OpenApi.Kiota --version 1.32.3
NuGet Microsoft.OpenApi.Kiota < 1.29.1 1.29.1 dotnet add package Microsoft.OpenApi.Kiota --version 1.29.1
NuGet Microsoft.OpenApi.Kiota.Builder ≥ 1.30.0 < 1.32.3 1.32.3 dotnet add package Microsoft.OpenApi.Kiota.Builder --version 1.32.3
NuGet Microsoft.OpenApi.Kiota.Builder < 1.29.1 1.29.1 dotnet add package Microsoft.OpenApi.Kiota.Builder --version 1.29.1

Per OSV / GitHub Advisories (GHSA-3hrf-2gc2-mx32). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.