Skip to main content

Microsoft Kiota CVE-2026-41134

| EUVD-2026-25094 HIGH
Code Injection (CWE-94)
2026-04-22 GitHub_M GHSA-2hx3-vp6r-mg3f
7.3
CVSS 4.0 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
7.3 HIGH
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/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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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/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
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

7
Analysis Generated
Apr 23, 2026 - 06:57 vuln.today
Patch available
Apr 22, 2026 - 22:02 EUVD
Patch released
Apr 22, 2026 - 21:23 nvd
Patch available
CVSS changed
Apr 22, 2026 - 21:22 NVD
7.3 (HIGH)
EUVD ID Assigned
Apr 22, 2026 - 21:01 euvd
EUVD-2026-25094
Analysis Generated
Apr 22, 2026 - 21:01 vuln.today
CVE Published
Apr 22, 2026 - 20:20 nvd
HIGH 7.3

DescriptionGitHub Advisory

Kiota is an OpenAPI based HTTP Client code generator. Versions prior to 1.31.1 are affected by a code-generation literal injection vulnerability in multiple writer sinks (for example: serialization/deserialization keys, path/query parameter mappings, URL template metadata, enum/property metadata, and default value emission). When malicious values from an OpenAPI description are emitted into generated source without context-appropriate escaping, an attacker can break out of string literals and inject additional code into generated clients. This issue is only practically exploitable when the OpenAPI description used for generation is from an untrusted source, or a normally trusted OpenAPI description has been compromised/tampered with. Only generating from trusted, integrity-protected API descriptions significantly reduces the risk. To remediate the issue, upgrade Kiota to 1.31.1 or later and regenerate/refresh existing generated clients as a precaution. Refreshing generated clients ensures previously generated vulnerable code is replaced with hardened output.

AnalysisAI

Code injection in Microsoft Kiota versions prior to 1.31.1 allows attackers who control or tamper with OpenAPI descriptions to inject malicious code into generated HTTP client libraries. Exploitation requires developers to generate clients from untrusted or compromised OpenAPI specifications, then compile and execute the poisoned code. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Attacker crafts malicious OpenAPI file
Delivery
Developer downloads tampered specification
Exploit
Kiota generates poisoned client code
Execution
Developer compiles injected code
Persist
Application executes attacker payload
Impact
Credential theft or persistence

Vulnerability AssessmentAI

Exploitation Exploitation requires developers to generate Kiota clients from OpenAPI descriptions originating from untrusted sources or legitimate sources that have been compromised via supply chain attack. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment Real-world risk requires supply chain compromise or developer error rather than direct network exploitation. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker publishes a malicious OpenAPI specification to a public API repository or compromises a legitimate API vendor's specification file. A developer discovers this API, downloads the OpenAPI description, and runs Kiota to generate a client library for their application. …
Remediation Upgrade Kiota to version 1.31.1 or later from the official GitHub releases at github.com/microsoft/kiota/releases or via package managers (NuGet for .NET, npm for TypeScript tooling). … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Audit all Kiota installations across development environments and identify current versions in use. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-41134 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy