CVE-2026-8766 Details
Description
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 disclosure. It is possible to launch the attack remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
An information disclosure vulnerability has been identified in Kilo-Org Kilocode versions through 7.0.47. The issue arises in the Environment Variable Handler, specifically within the Load function of the config.ts file in the opencode package. The vulnerability allows for arbitrary file reading by manipulating the KILO_CONFIG_CONTENT environment variable. This flaw can be exploited remotely, leading to the leakage of sensitive information such as API keys, AWS credentials, or SSH private keys.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/32b444e49ced1a46bde5a68933ccd09f | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/submit/811400 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/364391 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/364391/cti | [email protected] | Permissions RequiredVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-284 | Improper Access Control | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kilo kilo code cli | <= 7.0.47 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 20, 2026 | Reanalysis | [email protected] |
| May 19, 2026 | Initial Analysis | [email protected] |
| May 17, 2026 | New CVE Received | [email protected] |