Kimi Code FetchURL SSRF protection bypass vulnerability
Start here
The JFrog security research team disclosed that FetchURL in Kimi Code (@moonshot-ai/kimi-code) versions before 0.27.0 has an SSRF protection bypass vulnerability CVE-2026-17534, with a CVSS score of 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 (for example, through prompt injection) can provide a hostname that resolves to an internal address to bypass the protection.
Generated by AI from reports · Updated 4 days ago
Progress timeline
- Date not givenresearch.jfrog.comKimi 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.
Related discussion
Attention trend
New sources per day
- Oct 5New1 sources (1 outlets,0 accounts)
- Oct 6New0 sources (0 outlets,0 accounts)
- Oct 7New0 sources (0 outlets,0 accounts)
- Oct 8New0 sources (0 outlets,0 accounts)
- Oct 9New0 sources (0 outlets,0 accounts)
- Oct 10New0 sources (0 outlets,0 accounts)
- Oct 11New0 sources (0 outlets,0 accounts)
- Oct 12New0 sources (0 outlets,0 accounts)
- Oct 13New0 sources (0 outlets,0 accounts)