CVE-2026-8766 — Kilo-Org Kilocode Information Disclosure
CVE-2026-8766 — A flaw has been found in Kilo-Org kilocode up to 7.0.47. This issue affects the function Load of the file packages/opencode/src/config/config.ts of the component Environment Variable Handler. Executing a manipulation of the argument KILO_CONFIG_CONTENT can lead to information disclos
What This Means For You
- If your environment is affected by CWE-200, CWE-284, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-8766 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
2 rules · 6 SIEM formats2 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-8766 - Kilo-Org Kilocode Environment Variable Handler Information Disclosure
title: CVE-2026-8766 - Kilo-Org Kilocode Environment Variable Handler Information Disclosure
id: scw-2026-05-17-ai-1
status: experimental
level: high
description: |
This rule detects attempts to exploit CVE-2026-8766 by targeting the Load function in packages/opencode/src/config/config.ts. The exploit involves manipulating the KILO_CONFIG_CONTENT environment variable via a GET request to the specified path, potentially leading to information disclosure. A 200 status code suggests a successful retrieval of information.
author: SCW Feed Engine (AI-generated)
date: 2026-05-17
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-8766/
tags:
- attack.credential_access
- attack.t1552
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/packages/opencode/src/config/config.ts'
cs-uri-query|contains:
- 'KILO_CONFIG_CONTENT='
cs-method:
- 'GET'
sc-status:
- '200'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-8766 | vulnerability | CVE-2026-8766 |
| CWE-200 | weakness | CWE-200 |
| CWE-284 | weakness | CWE-284 |
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.