{"id":"CVE-2026-17534","published":"2026-07-27T09:19:23Z","modified":"2026-07-27T10:24:05Z","title":"Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects","vendor":"MoonshotAI","product":"Kimi Code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00158,"percentile":0.0511,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30","tags":["patch"]},{"url":"https://github.com/MoonshotAI/kimi-code/pull/1791","tags":["patch"]},{"url":"https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0","tags":["vendor-advisory"]},{"url":"https://github.com/MoonshotAI/kimi-code","tags":["product"]}],"priority":{"score":4.9,"factors":[{"name":"EPSS percentile","points":1.02},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"moonshotai","affectedVersions":[{"vendor":"MoonshotAI","product":"Kimi Code","versions":["< 0.27.0"]}],"solutions":{"items":["Upgrade to Kimi Code 0.27.0 or later. The fix resolves hostnames via DNS and rejects addresses in loopback, RFC1918, link-local, CGNAT, and ULA ranges; follows redirects manually with per-hop revalidation; and pins connections to the validated resolved addresses to reduce DNS-rebinding (TOCTOU) races."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-664","name":"Server Side Request Forgery"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-27T10:23:54.927637Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-49134","exploited":false,"provenance":"source"}}