Vulnerability

CVE-2026-59859

highCVSS 4.0 8.7Published 16 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /microsoft/kiota/commit/5e2a211ac4261988fbdc72c3b268596ea88…
  • 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

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning