CVE-2026-17534
MEDIUM
5.5
CVSS 3.1
Description
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.
Metadata
Severity & Metrics
5.5
MEDIUM CVSS 3.1
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| MoonshotAI | Kimi Code | — | 0 < 0.27.0 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-918 | cna | CWE-918: Server-Side Request Forgery (SSRF) |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 5.5 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N |
References (4)
- Fix: close FetchURL SSRF bypasses and DNS-rebinding window https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30
- PR #1791: close FetchURL SSRF bypasses and DNS-rebinding window https://github.com/MoonshotAI/kimi-code/pull/1791
- Kimi Code 0.27.0 release https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0
- Kimi Code repository https://github.com/MoonshotAI/kimi-code