CVE-2026-8766: @kilocode/cli @kilocode/cli Vulnerable To Exposure Of Vulnerability
LOWCVE-2026-8766 is a LOW (CVSS 4.3) @kilocode/cli vulnerable to exposure of vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting @kilocode/cli libraries in the npm ecosystem. The issue involves @kilocode/cli vulnerable to exposure of sensitive information to an unauthorized actor. Remediation is available in the latest vendor maintenance releases.
CVE-2026-8766 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-8766
To remediate this vulnerability, upgrade all affected @kilocode/cli dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @kilocode/cli@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @kilocode/cli
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-8766, inspect your project dependencies using npm:
npm ls @kilocode/cli
Analyze the terminal output to locate any version of @kilocode/cli in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls @kilocode/cli command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In @kilocode/cli, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-8766 Affected @kilocode/cli Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@kilocode/cli
|
npm |
≤ 7.0.47
|
|
References
Frequently Asked Questions
What is CVE-2026-8766?
Which @kilocode/cli versions are affected?
What version fixes CVE-2026-8766?
Is @kilocode/cli affected?
What is the CVSS score of CVE-2026-8766?
What CWE is associated with CVE-2026-8766?
How can I check npm dependencies for CVE-2026-8766?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rpc6-9c4p-j5cg",
"modified" : "2026-05-28T20:05:02Z",
"published" : "2026-05-18T00:31:36Z",
"aliases" : [ "CVE-2026-8766" ],
"summary" : "@kilocode/cli Vulnerable to Exposure of Sensitive Information to an Unauthorized Actor",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@kilocode/cli"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "7.0.47"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-8766"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/YLChen-007/32b444e49ced1a46bde5a68933ccd09f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Kilo-Org/kilocode"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/811400"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/364391"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/364391/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-28T20:05:02Z",
"nvd_published_at" : "2026-05-17T23:17:02Z"
}
}