CVE Explorer
CVE-2026-17534
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 den
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://github.com/MoonshotAI/kimi-code","defaultStatus":"unaffected","packageName":"@moonshot-ai/kimi-code","product":"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"],"repo":"git://github.com/MoonshotAI/kimi-code","vendor":"MoonshotAI","versions":[{"lessThan":"0.27.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e29e914613f723bca5e25d71ef4cbbd694262ee9df83d977752477c6c51cc11c · sha256:cd69399355538d3c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e29e914613f723bca5e25d71ef4cbbd694262ee9df83d977752477c6c51cc11c · sha256:cd69399355538d3c… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e29e914613f723bca5e25d71ef4cbbd694262ee9df83d977752477c6c51cc11c · sha256:cd69399355538d3c… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"Kimi Code repository","tags":["product"],"url":"https://github.com/MoonshotAI/kimi-code"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e29e914613f723bca5e25d71ef4cbbd694262ee9df83d977752477c6c51cc11c · sha256:cd69399355538d3c… · /containers/cna/references/3
{"name":"Fix: close FetchURL SSRF bypasses and DNS-rebinding window","tags":["patch"],"url":"https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e29e914613f723bca5e25d71ef4cbbd694262ee9df83d977752477c6c51cc11c · sha256:cd69399355538d3c… · /containers/cna/references/0
{"name":"PR #1791: close FetchURL SSRF bypasses and DNS-rebinding window","tags":["patch"],"url":"https://github.com/MoonshotAI/kimi-code/pull/1791"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e29e914613f723bca5e25d71ef4cbbd694262ee9df83d977752477c6c51cc11c · sha256:cd69399355538d3c… · /containers/cna/references/1
{"name":"Kimi Code 0.27.0 release","tags":["vendor-advisory"],"url":"https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e29e914613f723bca5e25d71ef4cbbd694262ee9df83d977752477c6c51cc11c · sha256:cd69399355538d3c… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.