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

Medium 5.3 Published Updated

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.

Weakness: CWE-284, CWE-200

Which versions are affected by CVE-2026-8766?

2 open source packages ship an affected version, including @kilocode/cli. It affects 1 product.

PackageAffectedFixed in
@kilocode/cli npmAll versions to 7.0.47None
@kilocode/cli npmAll versions to 7.0.47None

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.

Is CVE-2026-8766 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free