Kilo-Org kilocode File Diff API Endpoint worktree-diff.ts Bun.file path traversal
Kilo-Org kilocode
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Kilo-Org kilocode |
| No fix yet |
Original 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.