CVE-2026-59859
Kiota is an OpenAPI based HTTP Client code generator. Prior to …
Kiota is an OpenAPI based HTTP Client code generator. Prior to 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.32.4.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/microsoft/kiota/commit/5e2a211ac4261988fbdc72c3b268596ea8837b87
- github.com/microsoft/kiota/pull/7863
- github.com/microsoft/kiota/releases/tag/v1.32.4
- github.com/microsoft/kiota/security/advisories/GHSA-jqwh-526h-c92j
- nvd.nist.gov/vuln/detail/CVE-2026-59859
- github.com/advisories/GHSA-jqwh-526h-c92j
- nvd.nist.gov/vuln/detail/CVE-2026-59859
- cve.org/CVERecord?id=CVE-2026-59859
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.