RCE in Microsoft Kiota
CVE-2026-59859
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.4, Kiota's PHP generator embedded OpenAPI description, default fields, property names, and other schema-derived strings into PHP double-quoted literals through SanitizeDoubleQuote() in Writers/StringExtensions.cs without escaping $, allowing attacker-controlled ${...}, $var, or {$obj->prop} interpolation constructs to inject arbitrary PHP code into generated model and request-builder classes. This issue is fixed in version 1.29.1 and 1.32.4.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
EPSS exploit prediction
EPSS: 0.014 (71.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 71.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
- Microsoft Kiota — versions >= 1.30.0, < 1.31.1, < 1.32.4, < 1.29.1