# CVE-2026-8765: Kilo-Org kilocode File Diff API Endpoint worktree-diff.ts Bun.file path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-05-17T22:00:13.413Z
- Modified: 2026-10-14T20:10:00.190Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Kilo-Org kilocode: 7.0.0; 7.0.1; 7.0.2; 7.0.3; 7.0.4; 7.0.5; 7.0.6; 7.0.7; 7.0.8; 7.0.9; 7.0.10; 7.0.11; and 36 more
- kilo kilo_code: from 7.0.0 up to 7.0.47

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://vuldb.com/submit/811401> (exploit, third-party-advisory, vdb-entry)
- <https://gist.github.com/YLChen-007/1770f4530b0c933dc61f15b02aa0629d> (exploit, third-party-advisory)
- <https://vuldb.com/vuln/364390> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/vuln/364390/cti> (permissions-required, signature, vdb-entry)

## Sources

- CVE List: [CVE-2026-8765](https://www.cve.org/CVERecord?id=CVE-2026-8765), CVE Terms of Use, modified 2026-05-18
- NVD: [CVE-2026-8765](https://nvd.nist.gov/vuln/detail/CVE-2026-8765), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-8765 · Whole record: https://cve.day/CVE-2026-8765.json · Rebuilt by cve.day 2026-11-25T22:59:21.899Z
