CVE-2026-8766 Kilo-Org kilocode Environment Variable config.ts load information disclosure
Remote attackers can exploit environment variable handling in Kilo-Org kilocode to disclose sensitive configuration information.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-8766?
CVE-2026-8766 is a medium-severity vulnerability in Kilo-Org kilocode, published on 17 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-8766?
2 open source packages ship an affected version, including @kilocode/cli. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@kilocode/cli npm | All versions to 7.0.47 | None |
@kilocode/cli npm | All versions to 7.0.47 | None |
Products include Kilo Kilo Code Cli.
How do I fix CVE-2026-8766?
No fix has been published for CVE-2026-8766 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-8766 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8766 exists.
Sources
Also known as GHSA-rpc6-9c4p-j5cg.