Path Traversal in Kilo Code
CVE-2026-8765
- CVSS v3
- 4.3 Medium
- Public exploits
- None known
- EPSS
- 0.006 · 48.6th percentile
- Published
- 2026-05-17
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.006, 48.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kilo Code
- Kilo-Org Kilocode — versions 7.0.0, 7.0.1, 7.0.2
Weakness classification (CWE)
References
- VDB-364390 | Kilo-Org kilocode File Diff API Endpoint worktree-diff.ts Bun.file path traversal (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-364390 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #811401 | Kilo-Org kilocode 7.0.47 Path Traversal (CWE-22) (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- gist.github.com/YLChen-007/1770f4530b0c933dc61f15b02aa0629d (Exploit, Third Party Advisory, exploit)