CVE-2026-59859 Kiota: Code Generation Literal Injection in the PHP Generator
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
microsoft
kiota
영향 받는 버전
- 1.30.0 이상 1.31.1 미만
- 1.29.1 미만
해결 버전
- 1.31.1 이상
- 1.29.1 이상
참고 자료 4건
- github.com https://github.com/microsoft/kiota/commit/5e2a211ac4261988fbdc72c3b268596ea8837b87 (새 창)
- github.com https://github.com/microsoft/kiota/pull/7863 (새 창)
- github.com https://github.com/microsoft/kiota/releases/tag/v1.32.4 (새 창)
- github.com https://github.com/microsoft/kiota/security/advisories/GHSA-jqwh-526h-c92j (새 창)