Skip to main content
EPSS 0.1%top 98%

CVE-2026-17534: CWE-918: Server-Side Request Forgery (SSRF) in MoonshotAI Kimi Code

0
Medium
VulnerabilityCVE-2026-17534cvecve-2026-17534cwe-918
Published: 07/27/2026 (07/27/2026, 09:19:23 UTC)
Source: CVE Database V5
Vendor/Project: MoonshotAI
Product: Kimi Code

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.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →cve
@moonshot-ai/kimi-code
pkg:github/@moonshot-ai/kimi-code
Affected versions
<0.27.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 01:47:46 UTC

Technical Analysis

CVE-2026-17534 is an SSRF vulnerability in MoonshotAI Kimi Code before version 0.27.0. The vulnerability is due to insufficient SSRF protections in the FetchURL function, which relies on a static denylist of hostnames and IP literals without resolving DNS or re-checking hosts after HTTP redirects. This allows an attacker who can influence FetchURL calls (e.g., via prompt injection) to provide a public hostname that resolves to internal or loopback addresses or a public URL that redirects to such targets, thereby enabling access to internal network services that the denylist was intended to block. The FetchURL call is auto-approved by default, increasing the risk of exploitation without user interaction.

Potential Impact

Successful exploitation allows an attacker to bypass SSRF protections and access internal network services that should be blocked, potentially leading to unauthorized information disclosure or interaction with internal systems. The vulnerability does not impact integrity or availability directly but compromises confidentiality by enabling internal network access through SSRF.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid using vulnerable versions of Kimi Code or disable the FetchURL function if possible. Additional mitigations include restricting network access from the application to internal services and monitoring for unusual FetchURL usage. Since no official fix or patch link is provided, closely monitor MoonshotAI advisories for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
JFROG
Date Reserved
2026-07-27T09:17:58.055Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a6731749c2644c7f8d9a56f

Added to database: 07/27/2026, 10:22:44 UTC

Last enriched: 07/30/2026, 01:47:46 UTC

Last updated: 09/10/2026, 18:10:35 UTC

Views: 128

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses