CVE-2026-17534 Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects
설명
Kimi Code (@moonshot-ai/kimi-code) before 0.27.0 implements FetchURL SSRF hardening as a static hostname and IP-literal denylist in assertSafeFetchTarget, without resolving DNS or re-validating hosts after HTTP redirects. An attacker who can influence a FetchURL call (for example via prompt injection) can supply a crafted public hostname that resolves to loopback or another internal address, or a public URL that redirects to such a target, and thereby reach internal network services that the denylist was intended to block. FetchURL is included in the default auto-approve tool set, so the call does not require interactive user confirmation in manual mode.
영향 받는 제품 제품 1개
-
해결 버전 있음
MoonshotAI
Kimi Code
영향 받는 버전
- 0.27.0 미만
해결 버전
- 0.27.0 이상
참고 자료 4건
- github.com https://github.com/MoonshotAI/kimi-code (새 창)
- github.com https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30 (새 창)
- github.com https://github.com/MoonshotAI/kimi-code/pull/1791 (새 창)
- github.com https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0 (새 창)