# CVE-2026-17534: Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects

- Severity: Medium 5.5 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-07-27T09:19:23.982Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: JFROG

## 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.

(As written by CVE List.)

## Affected

- @moonshot-ai/kimi-code: before 0.27.0

## References

- <https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30> (patch)
- <https://github.com/MoonshotAI/kimi-code/pull/1791> (patch)
- <https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0> (vendor-advisory)
- <https://github.com/MoonshotAI/kimi-code> (product)

## Sources

- CVE List: [CVE-2026-17534](https://www.cve.org/CVERecord?id=CVE-2026-17534), CVE Terms of Use, modified 2026-07-27
- NVD: [CVE-2026-17534](https://nvd.nist.gov/vuln/detail/CVE-2026-17534), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-17534 · Whole record: https://cve.day/CVE-2026-17534.json · Rebuilt by cve.day 2026-11-25T22:59:30.178Z
