Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege authentication
-
DeliverySend crafted request with malicious KILO_CONFIG_CONTENT
-
ExploitTrigger config.ts Load function
-
ExecutionEnvironment variable manipulation
-
ImpactExtract sensitive configuration data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access with low-level privileges (PR:L from CVSS vector) to the Kilocode application instance. The vulnerability is exploitable when the Environment Variable Handler's Load function in packages/opencode/src/config/config.ts processes attacker-controlled KILO_CONFIG_CONTENT arguments, which occurs during configuration loading operations. No user interaction required (UI:N) and network-accessible (AV:N). Exploitation is limited by the need for valid authentication credentials, though any authenticated user appears capable of triggering the vulnerability regardless of role. The attack does not require non-default configurations-default installations of Kilocode versions up to 7.0.47 are vulnerable if they expose configuration loading endpoints to authenticated users. |
| Impact | Real-world risk is moderate despite the 4.3 CVSS score. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) indicates network-accessible exploitation with low attack complexity, but requires low-privilege authentication (PR:L), which significantly reduces the attack surface compared to unauthenticated vulnerabilities. The E:P (Proof-of-concept) modifier confirms public exploit availability, elevating practical risk. CISA KEV status is not reported, suggesting no confirmed widespread active exploitation in critical infrastructure. However, vendor unresponsiveness (RL:X - No Remediation Level assigned) is a critical risk factor, leaving users without an official patch path. The limited impact scope (C:L - Low confidentiality impact, no integrity or availability impact) and unchanged scope (S:U) indicate information disclosure without privilege escalation or system compromise. This is a real priority for organizations using Kilocode in environments where configuration data contains secrets, API keys, or sensitive deployment parameters, but lower priority for air-gapped or non-production deployments. |
| Exploit ScenarioDerived | An authenticated attacker with low-level privileges accesses a Kilocode instance over the network and crafts malicious HTTP requests or API calls that manipulate the KILO_CONFIG_CONTENT environment variable passed to the config.ts Load function. By injecting specially formatted values referenced in the public exploit code, the attacker tricks the configuration handler into disclosing sensitive information such as database credentials, API tokens, or internal service endpoints embedded in environment-based configuration. The low attack complexity and publicly available proof-of-concept code make this readily exploitable by attackers with basic authentication access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 17, 2026
Information disclosure in Kilo-Org Kilocode versions up to 7.0.47 allows authenticated remote attackers to access sensitive configuration data by manipulating the KILO_CONFIG_CONTENT environment variable through the config.ts Load function. Public exploit code exists (EPSS probability data not provided), enabling low-complexity attacks that expose confidential information without requiring user interaction. The vendor has been unresponsive to disclosure attempts, and no patch release has been confirmed.
RemediationAI
No vendor-released patch identified at time of analysis despite early vendor notification. Organizations using Kilocode 7.0.47 or earlier should implement compensating controls immediately. Restrict access to environment variable configuration mechanisms by enforcing strict authentication and authorization on any interfaces that accept or process KILO_CONFIG_CONTENT values-this may require code-level changes to validate input sources. Deploy runtime application self-protection (RASP) or web application firewall (WAF) rules to detect and block requests attempting to inject malicious content into environment variables, though this may cause false positives if legitimate configuration updates use similar patterns. Isolate Kilocode instances in network segments with minimal exposure and limit authenticated user permissions to only those requiring configuration access, accepting the operational overhead of manual configuration management. Monitor application logs for anomalous Load function calls or environment variable modifications. Consider migrating to alternative configuration management solutions if vendor continues non-responsiveness. The public exploit at https://gist.github.com/YLChen-007/32b444e49ced1a46bde5a68933ccd09f should be reviewed to understand exact attack techniques for detection rule development.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the Environment Variable Handler component of Kilocode, specifically the Load function in packages/opencode/src/config/config.ts. The issue stems from CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), where improper validation or sanitization of the KILO_CONFIG_CONTENT environment variable allows attackers to manipulate configuration loading mechanisms. Environment variable injection vulnerabilities commonly occur in Node.js/TypeScript applications when user-controlled input influences configuration file paths or content loading without adequate input validation. The affected CPE (cpe:2.3:a:kilo-org:kilocode:*:*:*:*:*:*:*:*) indicates this is a widespread issue across the Kilocode product line through version 7.0.47.
Know when Kilocode gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-30710
GHSA-rpc6-9c4p-j5cg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB