{"id":"CVE-2026-8766","state":"PUBLISHED","title":"Kilo-Org kilocode Environment Variable config.ts load information disclosure","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.","publishedAt":"2026-05-17T22:15:08.997Z","updatedAt":"2026-05-18T17:51:42.789Z","severity":{"score":5.3,"label":"Medium","version":"4.0","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","source":"VulDB"},"assigner":"VulDB","products":["Kilo-Org kilocode"],"affected":[{"vendor":"Kilo-Org","product":"kilocode","versions":[{"version":"7.0.0","status":"affected"},{"version":"7.0.1","status":"affected"},{"version":"7.0.2","status":"affected"},{"version":"7.0.3","status":"affected"},{"version":"7.0.4","status":"affected"},{"version":"7.0.5","status":"affected"},{"version":"7.0.6","status":"affected"},{"version":"7.0.7","status":"affected"},{"version":"7.0.8","status":"affected"},{"version":"7.0.9","status":"affected"},{"version":"7.0.10","status":"affected"},{"version":"7.0.11","status":"affected"},{"version":"7.0.12","status":"affected"},{"version":"7.0.13","status":"affected"},{"version":"7.0.14","status":"affected"},{"version":"7.0.15","status":"affected"},{"version":"7.0.16","status":"affected"},{"version":"7.0.17","status":"affected"},{"version":"7.0.18","status":"affected"},{"version":"7.0.19","status":"affected"},{"version":"7.0.20","status":"affected"},{"version":"7.0.21","status":"affected"},{"version":"7.0.22","status":"affected"},{"version":"7.0.23","status":"affected"},{"version":"7.0.24","status":"affected"},{"version":"7.0.25","status":"affected"},{"version":"7.0.26","status":"affected"},{"version":"7.0.27","status":"affected"},{"version":"7.0.28","status":"affected"},{"version":"7.0.29","status":"affected"},{"version":"7.0.30","status":"affected"},{"version":"7.0.31","status":"affected"},{"version":"7.0.32","status":"affected"},{"version":"7.0.33","status":"affected"},{"version":"7.0.34","status":"affected"},{"version":"7.0.35","status":"affected"},{"version":"7.0.36","status":"affected"},{"version":"7.0.37","status":"affected"},{"version":"7.0.38","status":"affected"},{"version":"7.0.39","status":"affected"},{"version":"7.0.40","status":"affected"},{"version":"7.0.41","status":"affected"},{"version":"7.0.42","status":"affected"},{"version":"7.0.43","status":"affected"},{"version":"7.0.44","status":"affected"},{"version":"7.0.45","status":"affected"},{"version":"7.0.46","status":"affected"},{"version":"7.0.47","status":"affected"}],"cpes":["cpe:2.3:a:kilo-org:kilocode:*:*:*:*:*:*:*:*"],"modules":["Environment Variable Handler"]}],"references":["https://vuldb.com/vuln/364391","https://vuldb.com/vuln/364391/cti","https://vuldb.com/submit/811400","https://gist.github.com/YLChen-007/32b444e49ced1a46bde5a68933ccd09f"],"weaknesses":["CWE-200","CWE-284"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/8xxx/CVE-2026-8766.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-8766","state":"PUBLISHED","datePublished":"2026-05-17T22:15:08.997Z","dateUpdated":"2026-05-18T17:51:42.789Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-05-17T08:55:27.777Z"},"containers":{"cna":{"title":"Kilo-Org kilocode Environment Variable config.ts load information disclosure","descriptions":[{"lang":"en","value":"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":[{"vendor":"Kilo-Org","product":"kilocode","versions":[{"version":"7.0.0","status":"affected"},{"version":"7.0.1","status":"affected"},{"version":"7.0.2","status":"affected"},{"version":"7.0.3","status":"affected"},{"version":"7.0.4","status":"affected"},{"version":"7.0.5","status":"affected"},{"version":"7.0.6","status":"affected"},{"version":"7.0.7","status":"affected"},{"version":"7.0.8","status":"affected"},{"version":"7.0.9","status":"affected"},{"version":"7.0.10","status":"affected"},{"version":"7.0.11","status":"affected"},{"version":"7.0.12","status":"affected"},{"version":"7.0.13","status":"affected"},{"version":"7.0.14","status":"affected"},{"version":"7.0.15","status":"affected"},{"version":"7.0.16","status":"affected"},{"version":"7.0.17","status":"affected"},{"version":"7.0.18","status":"affected"},{"version":"7.0.19","status":"affected"},{"version":"7.0.20","status":"affected"},{"version":"7.0.21","status":"affected"},{"version":"7.0.22","status":"affected"},{"version":"7.0.23","status":"affected"},{"version":"7.0.24","status":"affected"},{"version":"7.0.25","status":"affected"},{"version":"7.0.26","status":"affected"},{"version":"7.0.27","status":"affected"},{"version":"7.0.28","status":"affected"},{"version":"7.0.29","status":"affected"},{"version":"7.0.30","status":"affected"},{"version":"7.0.31","status":"affected"},{"version":"7.0.32","status":"affected"},{"version":"7.0.33","status":"affected"},{"version":"7.0.34","status":"affected"},{"version":"7.0.35","status":"affected"},{"version":"7.0.36","status":"affected"},{"version":"7.0.37","status":"affected"},{"version":"7.0.38","status":"affected"},{"version":"7.0.39","status":"affected"},{"version":"7.0.40","status":"affected"},{"version":"7.0.41","status":"affected"},{"version":"7.0.42","status":"affected"},{"version":"7.0.43","status":"affected"},{"version":"7.0.44","status":"affected"},{"version":"7.0.45","status":"affected"},{"version":"7.0.46","status":"affected"},{"version":"7.0.47","status":"affected"}],"cpes":["cpe:2.3:a:kilo-org:kilocode:*:*:*:*:*:*:*:*"],"modules":["Environment Variable Handler"]}],"references":[{"url":"https://vuldb.com/vuln/364391","name":"VDB-364391 | Kilo-Org kilocode Environment Variable config.ts load information disclosure","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/364391/cti","name":"VDB-364391 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/811400","name":"Submit #811400 | Kilo-Org kilocode 7.0.47 Arbitrary File Read (CWE-200)","tags":["third-party-advisory"]},{"url":"https://gist.github.com/YLChen-007/32b444e49ced1a46bde5a68933ccd09f","tags":["exploit"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":4.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":4.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":4,"vectorString":"AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","type":"CWE","lang":"en","description":"Information Disclosure"}]},{"descriptions":[{"cweId":"CWE-284","type":"CWE","lang":"en","description":"Improper Access Controls"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-05-17T22:15:08.997Z"},"timeline":[{"time":"2026-05-17T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-05-17T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-05-17T11:00:35.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Eric-d (VulDB User)","type":"reporter"},{"lang":"en","value":"VulDB CNA Team","type":"coordinator"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-18T14:54:24.339328Z","id":"CVE-2026-8766","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-18T17:51:42.789Z"}}]}}}