{"id":"DHI-2u7u-3hns-de5i-wtqc","aliases":[],"title":"Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.5, Kiota emitted x-ms-kiota-info…","originalDescription":"Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.5, Kiota emitted x-ms-kiota-info clientClassName and clientNamespaceName values without identifier or path sanitization as both generated client class or namespace names and generated output path components when `kiota generate` ran without -c/--class-name, allowing an attacker-controlled or compromised OpenAPI description to write generated source outside the -o output directory and inject arbitrary text into generated class or namespace declarations. This issue is fixed in version 1.29.1 and 1.32.5 by GenerationConfiguration.SanitizeClientClassName and SanitizeClientNamespaceName.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-2u7u-3hns-de5i-wtqc","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59866","type":"advisory"},{"url":"https://github.com/advisories/GHSA-4vv7-jj25-4gh6","type":"advisory"},{"url":"https://github.com/microsoft/kiota/security/advisories/GHSA-4vv7-jj25-4gh6","type":"advisory"},{"url":"https://github.com/microsoft/kiota/pull/7884","type":"fix"},{"url":"https://github.com/microsoft/kiota/commit/dc812dbbf88ef7edf53a890d36b2f9d1460e947d","type":"fix"},{"url":"https://github.com/microsoft/kiota/releases/tag/v1.32.5","type":"web"}],"sources":[{"name":"osv","at":"2026-12-01T21:31:48.429Z","url":"https://osv.dev/vulnerability/DHI-2u7u-3hns-de5i-wtqc","license":"CC-BY 4.0","firstSeenAt":"2026-11-18T23:39:45.724Z"}],"firstSeenAt":"2026-11-18T23:39:45.724Z","publishedAt":"2026-11-18T23:16:47.000Z","modifiedAt":"2026-12-01T21:15:05.502Z"}