RCE in Moonshotai Kimi-Agent-Sdk
CVE-2026-25046
Kimi Agent SDK is a set of libraries that expose the Kimi Code (Kimi CLI) agent runtime in applications. The vsix-publish.js and ovsx-publish.js scripts pass filenames to execSync() as shell command strings. Prior to version 0.1.6, filenames containing shell metacharacters like $(cmd) could execute arbitrary commands. Note: This vulnerability exists only in the repository's development scripts. The published VSCode extension does not include these files and end users are not affected. This is fixed in version 0.1.6 by replacing execSync with execFileSync using array arguments. As a workaround, ensure .vsix files in the project directory have safe filenames before running publish scripts.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.9 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.001 (2.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 2nd percentile — 2.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: +0.000
Affected products
- Moonshotai Kimi-Agent-Sdk — versions < 0.1.6
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-25046?
- CVE-2026-25046 is a low-severity vulnerability in Moonshotai Kimi-Agent-Sdk, classified under Command Injection. CVSS score: 2.9/10. Published 2026-01-29.
- How severe is CVE-2026-25046?
- Low severity. CVSS v3 base score is 2.9 out of 10.