Advisory record · GHSA-2hx3-vp6r-mg3f

Kiota: Code Generation Literal Injection

CVSS 7.3 HighEPSS 0.0042 · 36th percentile

Published by the GitHub Advisory Database at 14 Apr 2026, 23:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
Microsoft.OpenApi.KiotaNuGet>=1.30.0, <1.31.1 || <1.29.11.31.1, 1.29.1
Microsoft.OpenApi.Kiota.BuilderNuGet>=1.30.0, <1.31.1 || <1.29.11.31.1, 1.29.1
Identifiers
GHSA-2hx3-vp6r-mg3f · CVE-2026-41134
Weakness (CWE)
CWE-94
Published
14 Apr 2026
Updated
17 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Kiota (NuGet packages Microsoft.OpenApi.Kiota and Microsoft.OpenApi.Kiota.Builder) versions before 1.29.1, and versions 1.30.0 up to but not including 1.31.1, have a code-generation literal injection flaw. An attacker who can supply a malicious OpenAPI description, or tamper with a trusted one, can break out of string literals in generated code and inject additional statements into generated clients. Upgrade to version 1.29.1 or 1.31.1 or later, then regenerate existing clients so earlier vulnerable output is replaced.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.3 High 4.0 CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 36th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:21 UTC First seen by agentprime
  2. 31 Oct 2026, 15:21 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.