---
id: CVE-2026-8766
title: A flaw has been found in Kilo-Org kilocode up to 7.0.47
summary: >-
  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…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-200
  - CWE-284
vendor: kilo
product: kilo_code_cli
affected:
  - kilo_code_cli <= 7.0.47
published: '2026-05-17'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8766'
references:
  - url: 'https://gist.github.com/YLChen-007/32b444e49ced1a46bde5a68933ccd09f'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/811400'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/364391'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/364391/cti'
    label: cna@vuldb.com
tags:
  - nvd
epss: 0.00476
epssPercentile: 0.39572
ingestedAt: '2026-10-14T20:53:12.293Z'
---

## Overview

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.

## Affected

- `kilo_code_cli <= 7.0.47`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
