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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-05-17T22:15:08.997Z
- Modified: 2026-10-14T20:10:00.190Z
- Also known as: GHSA-rpc6-9c4p-j5cg
- Weaknesses: CWE-200, CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Kilo-Org kilocode: 7.0.0; 7.0.1; 7.0.2; 7.0.3; 7.0.4; 7.0.5; 7.0.6; 7.0.7; 7.0.8; 7.0.9; 7.0.10; 7.0.11; and 36 more
- @kilocode/cli (npm): up to 7.0.47
- kilo kilo_code_cli: up to 7.0.47

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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`
- VulDB: CVSS:3.1 4.3 Medium `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`
- VulDB: CVSS:3.0 4.3 Medium `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`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 4.3 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://vuldb.com/submit/811400> (exploit, third-party-advisory, vdb-entry, web)
- <https://gist.github.com/YLChen-007/32b444e49ced1a46bde5a68933ccd09f> (exploit, third-party-advisory, web)
- <https://vuldb.com/vuln/364391> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/vuln/364391/cti> (permissions-required, signature, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-8766> (advisory)
- <https://github.com/Kilo-Org/kilocode> (package)

## Sources

- CVE List: [CVE-2026-8766](https://www.cve.org/CVERecord?id=CVE-2026-8766), CVE Terms of Use, modified 2026-05-18
- GitHub Advisory Database: [GHSA-rpc6-9c4p-j5cg](https://github.com/advisories/GHSA-rpc6-9c4p-j5cg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-8766](https://nvd.nist.gov/vuln/detail/CVE-2026-8766), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-8766 · Whole record: https://cve.day/CVE-2026-8766.json · Rebuilt by cve.day 2026-11-25T22:59:21.899Z
