CVE-2026-8765: Path Traversal in Kilo-Org kilocode
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.
AI Analysis
Technical Summary
This vulnerability in Kilo-Org kilocode (versions up to 7.0.47) involves the Bun.file function within the file packages/opencode/src/kilocode/review/worktree-diff.ts, specifically in the File Diff API Endpoint. By manipulating the file argument, an attacker can perform a path traversal attack remotely. This could potentially allow unauthorized access to files outside the intended directory scope. The vulnerability is publicly disclosed with no vendor response or patch available at this time.
Potential Impact
The impact of this vulnerability is that an attacker can remotely exploit the path traversal flaw to access files outside the intended directory structure via the File Diff API Endpoint. This could lead to unauthorized information disclosure. The CVSS score of 5.3 indicates a medium severity impact. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should consider implementing temporary mitigations such as restricting access to the vulnerable API endpoint, applying network-level controls to limit exposure, or using web application firewalls to detect and block path traversal attempts until a vendor patch is released.
CVE-2026-8765: Path Traversal in Kilo-Org kilocode
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Kilo-Org kilocode (versions up to 7.0.47) involves the Bun.file function within the file packages/opencode/src/kilocode/review/worktree-diff.ts, specifically in the File Diff API Endpoint. By manipulating the file argument, an attacker can perform a path traversal attack remotely. This could potentially allow unauthorized access to files outside the intended directory scope. The vulnerability is publicly disclosed with no vendor response or patch available at this time.
Potential Impact
The impact of this vulnerability is that an attacker can remotely exploit the path traversal flaw to access files outside the intended directory structure via the File Diff API Endpoint. This could lead to unauthorized information disclosure. The CVSS score of 5.3 indicates a medium severity impact. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should consider implementing temporary mitigations such as restricting access to the vulnerable API endpoint, applying network-level controls to limit exposure, or using web application firewalls to detect and block path traversal attempts until a vendor patch is released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-05-17T08:55:25.121Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0ad6abec166c07b096f521
Added to database: 5/18/2026, 9:06:51 AM
Last enriched: 5/18/2026, 9:07:14 AM
Last updated: 5/20/2026, 1:35:16 PM
Views: 20
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.