SSRF in Moonshotai Kimi Code
CVE-2026-17534
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 5.1th percentile
- Published
- 2026-07-27
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N.
- Attack Vector
- Local
AV:L - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.002, 5.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Moonshotai Kimi Code — versions 0
Weakness classification (CWE)
References
- Kimi Code repository (product)
- Fix: close FetchURL SSRF bypasses and DNS-rebinding window (patch)
- PR #1791: close FetchURL SSRF bypasses and DNS-rebinding window (patch)
- Kimi Code 0.27.0 release (vendor-advisory)