CVE-2026-17534
published medium CVSS 3.1 · 5.5Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MoonshotAI | — | @moonshot-ai/kimi-codeKimi Code · 0 to < 0.27.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MoonshotAI | Kimi Code | 0 to < 0.27.0 (affected · semver)Default: unaffected | JFROG · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
4- Kimi Code repository https://github.com/MoonshotAI/kimi-code
- Fix: close FetchURL SSRF bypasses and DNS-rebinding window https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30
- PR #1791: close FetchURL SSRF bypasses and DNS-rebinding window https://github.com/MoonshotAI/kimi-code/pull/1791
- Kimi Code 0.27.0 release https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0
Provider assertions
2JFROG · cna
Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 11ffde797ed9d707c6970b6661d3f7d969fc1e4cc831ea75f029bffb60e94d70
- Ingested
- 23 Sep 2026, 09:03:04 UTC
- Source record
- Official CVE record