CVE-2026-8765 Details
Description
A vulnerability was detected in Kilo-Org kilocode up to 7.0.47. This vulnerability affects the function Bun.file of the file packages/opencode/src/kilocode/review/worktree-diff.ts of the component File Diff API Endpoint. Performing a manipulation of the argument File results in path traversal. It is possible to initiate the attack remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A path traversal vulnerability has been identified in Kilo-Org Kilocode versions through 7.0.47. The issue arises in the File Diff API Endpoint, specifically within the Bun.file function of the file packages/opencode/src/kilocode/review/worktree-diff.ts. The vulnerability allows remote attackers to manipulate the 'file' argument, leading to arbitrary file read by traversing directories and accessing sensitive files on the server.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/1770f4530b0c933dc61f15b02aa0629d | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/submit/811401 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/364390 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/364390/cti | [email protected] | Permissions RequiredVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kilo kilo code | >= 7.0.0, <= 7.0.47 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 19, 2026 | Initial Analysis | [email protected] |
| May 17, 2026 | New CVE Received | [email protected] |