Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2026-17534

Summary
Assigner-JFROG
Assigner Org ID-48a46f29-ae42-4e1d-90dd-c1676c1e5e6d
Published At-27 Jul, 2026 | 09:19
Updated At-27 Jul, 2026 | 10:24
Rejected At-
Credits

Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:JFROG
Assigner Org ID:48a46f29-ae42-4e1d-90dd-c1676c1e5e6d
Published At:27 Jul, 2026 | 09:19
Updated At:27 Jul, 2026 | 10:24
Rejected At:
▼CVE Numbering Authority (CNA)
Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects

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 Products
Vendor
MoonshotAI
Product
Kimi Code
Collection URL
https://github.com/MoonshotAI/kimi-code
Package Name
@moonshot-ai/kimi-code
Repo
git://github.com/MoonshotAI/kimi-code
Program Files
  • 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
Default Status
unaffected
Versions
Affected
  • From 0 before 0.27.0 (semver)
Problem Types
TypeCWE IDDescription
CWECWE-918CWE-918: Server-Side Request Forgery (SSRF)
Type: CWE
CWE ID: CWE-918
Description: CWE-918: Server-Side Request Forgery (SSRF)
Metrics
VersionBase scoreBase severityVector
3.15.5MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
CAPEC-664CAPEC-664 Server Side Request Forgery
CAPEC ID: CAPEC-664
Description: CAPEC-664 Server Side Request Forgery
Solutions

Upgrade to Kimi Code 0.27.0 or later. The fix resolves hostnames via DNS and rejects addresses in loopback, RFC1918, link-local, CGNAT, and ULA ranges; follows redirects manually with per-hop revalidation; and pins connections to the validated resolved addresses to reduce DNS-rebinding (TOCTOU) races.

Configurations

Affects Kimi Code CLI/desktop agent installations before 0.27.0 when FetchURL uses the local fetch provider (including as a fallback). FetchURL is in the default auto-approve tool set. Exploitation requires the ability to influence a FetchURL invocation (for example via prompt injection) and user interaction with the agent session. Impact depends on which loopback or internal services are reachable from the host running Kimi Code.

Workarounds

Exploits

Credits

finder
Natan Nehorai
coordinator
JFrog Security Research
Timeline
EventDate
Fix merged in MoonshotAI/kimi-code#1791 (FetchURL SSRF hardening)2026-07-17 03:21:00
Fix released in @moonshot-ai/kimi-code@0.27.02026-07-17 12:48:00
Issue reported to Moonshot AI2026-07-16 08:15:00
Event: Fix merged in MoonshotAI/kimi-code#1791 (FetchURL SSRF hardening)
Date: 2026-07-17 03:21:00
Event: Fix released in @moonshot-ai/kimi-code@0.27.0
Date: 2026-07-17 12:48:00
Event: Issue reported to Moonshot AI
Date: 2026-07-16 08:15:00
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30
patch
https://github.com/MoonshotAI/kimi-code/pull/1791
patch
https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0
vendor-advisory
https://github.com/MoonshotAI/kimi-code
product
Hyperlink: https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30
Resource:
patch
Hyperlink: https://github.com/MoonshotAI/kimi-code/pull/1791
Resource:
patch
Hyperlink: https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0
Resource:
vendor-advisory
Hyperlink: https://github.com/MoonshotAI/kimi-code
Resource:
product
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:reefs@jfrog.com
Published At:27 Jul, 2026 | 10:16
Updated At:27 Jul, 2026 | 20:37

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.15.5MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
N/A
Type: Secondary
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
Type: N/A
Version:
Base score:
Base severity: N/A
Vector:
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-918Secondaryreefs@jfrog.com
CWE ID: CWE-918
Type: Secondary
Source: reefs@jfrog.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/MoonshotAI/kimi-codereefs@jfrog.com
N/A
https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30reefs@jfrog.com
N/A
https://github.com/MoonshotAI/kimi-code/pull/1791reefs@jfrog.com
N/A
https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0reefs@jfrog.com
N/A
Hyperlink: https://github.com/MoonshotAI/kimi-code
Source: reefs@jfrog.com
Resource: N/A
Hyperlink: https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30
Source: reefs@jfrog.com
Resource: N/A
Hyperlink: https://github.com/MoonshotAI/kimi-code/pull/1791
Source: reefs@jfrog.com
Resource: N/A
Hyperlink: https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.27.0
Source: reefs@jfrog.com
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found