Skip to content
MediumVulnerability

CVE-2026-8765: Kilo-Org kilocode path traversal in File Diff API Endpoint

Identifier
CVE-2026-8765
Published
Record updated
View JSON

Summary

A path traversal flaw exists in Kilo-Org kilocode up to 7.0.47. Manipulating the File argument of the File Diff API Endpoint, through the Bun.file function in packages/opencode/src/kilocode/review/worktree-diff.ts, lets an attacker traverse paths remotely. A public exploit is available, and the vendor did not respond after early contact about the disclosure.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.