CVE-2026-59867 Kiota: Generation-time SSRF + remote/local file inclusion via unrestricted $ref
설명
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.5, Kiota resolved OpenAPI $ref values by fetching remote http(s) URLs and reading local absolute or out-of-tree file paths, allowing `kiota generate` on an attacker-controlled or attacker-influenced description to perform build-time SSRF, remote file inclusion, and local file inclusion by inlining external schemas such as REMOTE_KIOTA_PROP or Leaked into generated clients. This issue is fixed in version 1.29.1 and 1.32.5 by AllowedExternalOriginsStreamLoader and the --allowed-external-origins option.
영향 받는 제품 제품 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/cccd798027f0a20db796b3df6c64f9897a39d7b1 (새 창)
- github.com https://github.com/microsoft/kiota/pull/7888 (새 창)
- github.com https://github.com/microsoft/kiota/releases/tag/v1.32.5 (새 창)
- github.com https://github.com/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8 (새 창)