CVE-2026-8765 — Kilo-Org Kilocode Path Traversal
CVE-2026-8765 — 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
What This Means For You
- If your environment is affected by CWE-22, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-8765 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-8765 - Kilo-Org Kilocode Path Traversal Attempt
title: CVE-2026-8765 - Kilo-Org Kilocode Path Traversal Attempt
id: scw-2026-05-17-ai-1
status: experimental
level: high
description: |
Detects attempts to exploit CVE-2026-8765 by targeting the File Diff API Endpoint in Kilo-Org kilocode. The rule looks for requests to the vulnerable file path '/packages/opencode/src/kilocode/review/worktree-diff.ts' that include '../' in the URI query, indicating a path traversal attempt.
author: SCW Feed Engine (AI-generated)
date: 2026-05-17
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-8765/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/packages/opencode/src/kilocode/review/worktree-diff.ts'
cs-uri-query|contains:
- '../'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-8765 | vulnerability | CVE-2026-8765 |
| CWE-22 | weakness | CWE-22 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 18, 2026 at 02:17 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.