CVE-2026-8766

Kilo-Org kilocode Environment Variable config.ts load information disclosure

Published May 17, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in Kilo-Org kilocode allows a remote attacker to manipulate the environment variable KILO_CONFIG_CONTENT and cause the config.ts loader to disclose sensitive configuration data. The vulnerability corresponds to Information Exposure (CWE‑200) and Improper Access Control (CWE‑284), and includes an additional unspecified weakness noted as NVD‑CWE‑noinfo. This results in an information disclosure impact rather than denial of service or execution.

Affected Systems

The affected product is Kilo‑Org kilocode, versions up to 7.0.47. No other vendors or products are listed in the CNA data.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate risk level. The EPSS score of < 1% indicates a very low probability of exploitation at this time, and the vulnerability is not listed in CISA KEV, suggesting limited current exploitation activity. The description states that the attack can be launched remotely and that a published exploit exists, so a remote attacker is able to trigger the disclosure without additional prerequisites.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict the KILO_CONFIG_CONTENT environment variable so it cannot be supplied from external sources or untrusted environments.
  • Upgrade to a newer version of kilocode that is past 7.0.47 once the vendor releases an official patch or fix.
  • Implement network segmentation and firewall rules to limit remote access to the service hosting kilocode, and monitor for unusual environment variable modifications.

Generated by OpenCVE AI on May 19, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rpc6-9c4p-j5cg @kilocode/cli Vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
History
Type Values Removed Values Added
First Time appeared Kilo kilo Code Cli
CPEs cpe:2.3:a:kilo:kilo_code:*:*:*:*:*:visual_studio_code:*:* cpe:2.3:a:kilo:kilo_code_cli:*:*:*:*:*:node.js:*:*
Vendors & Products Kilo kilo Code Cli
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:kilo:kilo_code:*:*:*:*:*:visual_studio_code:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kilo
Kilo kilo Code
Vendors & Products Kilo
Kilo kilo Code
Type Values Removed Values Added
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.
Title Kilo-Org kilocode Environment Variable config.ts load information disclosure
First Time appeared Kilo-org
Kilo-org kilocode
Weaknesses CWE-200
CWE-284
CPEs cpe:2.3:a:kilo-org:kilocode:*:*:*:*:*:*:*:*
Vendors & Products Kilo-org
Kilo-org kilocode
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
May 18, 2026, 5:51 PM
Reserved
May 17, 2026, 8:55 AM
Status
Analyzed
Published
May 17, 2026, 11:17 PM
Modified
Oct 14, 2026, 8:10 PM