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

> CVE-2026-17534: Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects. CVSS 5.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-17534
Last updated: 2026-10-24T13:10:00Z

- Published: 2026-07-27 09:19 UTC · Updated: 2026-10-24 13:10 UTC · Assigner: JFROG
- CVSS: 5.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- EPSS: 0.16%, 5th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-918

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

## Affected vendors and products

- MoonshotAI: Kimi Code

## Tracked companies

- [Moonshot AI (Kimi)](https://rewindex.com/company/moonshot-ai.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-17534)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-17534)
- [https://github.com/MoonshotAI/kimi-code](https://github.com/MoonshotAI/kimi-code)
- [https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30](https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30)
- [https://github.com/MoonshotAI/kimi-code/pull/1791](https://github.com/MoonshotAI/kimi-code/pull/1791)
- [https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0](https://github.com/MoonshotAI/kimi-code/releases/tag/%2540moonshot-ai%252Fkimi-code%25400.27.0)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-17534 · Markdown: https://rewindex.com/cve/CVE-2026-17534.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-17534 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:51.684Z
