Skip to content
EventPast event

Kimi Code FetchURL has an SSRF protection bypass vulnerability

1 reports1 reporting sources

Start here

AI overview

The JFrog security research team disclosed that the FetchURL in Kimi Code (@moonshot-ai/kimi-code) versions before 0.27.0 has an SSRF protection bypass vulnerability, numbered CVE-2026-17534, with a CVSS score of 5.5. The implementation only performs a static blacklist of hostnames and IP literals in assertSafeFetchTarget, does not resolve DNS, and does not re-validate the host after an HTTP redirect. An attacker who can influence the FetchURL call (for example, through prompt injection) can provide a hostname that resolves to an internal network address to bypass the protection.

Generated by AI from reports · Updated 2026-10-19

Progress timeline

Date not provided
  1. Date not given
    JFrog Security Research
    Kimi Code before version 0.27.0 has a FetchURL SSRF protection bypass vulnerability (CVE-2026-17534)

    JFrog Security Research disclosed that FetchURL in Kimi Code (@moonshot-ai/kimi-code) before version 0.27.0 has an SSRF protection bypass vulnerability CVE-2026-17534, CVSS 5.5. The implementation only performs static hostname and IP literal blacklisting in assertSafeFetchTarget, does not resolve DNS, and does not re-validate the host after HTTP redirects. An attacker who can influence FetchURL calls (e.g., via prompt injection) can provide a public hostname that resolves to loopback or internal addresses, or use a public URL that redirects to such targets, thereby accessing internal services that the blacklist was supposed to block. Since FetchURL is part of the default auto-approved toolset, no user interaction confirmation is required in manual mode.