CVE-2026-17534
Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects
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.
INFO
Published Date :
July 27, 2026, 10:16 a.m.
Last Modified :
July 27, 2026, 10:16 a.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-17534
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 48a46f29-ae42-4e1d-90dd-c1676c1e5e6d | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Kimi Code to version 0.27.0 or later.
- Implement DNS resolution for fetched URLs.
- Re-validate hosts after HTTP redirects.
- Remove FetchURL from auto-approve tool set.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-17534.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-17534 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-17534
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-17534 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-17534 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Jul. 27, 2026
Action Type Old Value New Value Added Affected [{'repo': 'git://github.com/MoonshotAI/kimi-code', 'vendor': 'MoonshotAI', 'product': 'Kimi Code', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '0.27.0', 'versionType': 'semver'}], 'packageName': '@moonshot-ai/kimi-code', 'programFiles': ['packages/agent-core-v2/src/app/web/providers/local-fetch-url.ts', 'packages/agent-core/src/tools/providers/local-fetch-url.ts', 'packages/agent-core-v2/src/agent/permissionPolicy/policies/default-tool-approve.ts'], 'collectionURL': 'https://github.com/MoonshotAI/kimi-code', 'defaultStatus': 'unaffected'}] Added 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. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N Added CWE CWE-918 Added Reference https://github.com/MoonshotAI/kimi-code Added Reference https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30 Added Reference https://github.com/MoonshotAI/kimi-code/pull/1791 Added Reference https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0