---
id: CVE-2026-8765
title: A vulnerability was detected in Kilo-Org kilocode up to 7.0.47
summary: >-
  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 man…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-22
vendor: kilo
product: kilo_code
affected:
  - 'kilo_code >= 7.0.0, <= 7.0.47'
published: '2026-05-17'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8765'
references:
  - url: 'https://gist.github.com/YLChen-007/1770f4530b0c933dc61f15b02aa0629d'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/811401'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/364390'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/364390/cti'
    label: cna@vuldb.com
tags:
  - nvd
epss: 0.00782
epssPercentile: 0.55006
ingestedAt: '2026-10-14T20:53:12.292Z'
---

## Overview

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.

## Affected

- `kilo_code >= 7.0.0, <= 7.0.47`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
