# CVE-2026-25046: [Kimi VS Code] Command Injection in publish scripts vsix-publish.js and ovsx-publish.js

- Severity: Low 2.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N`
- 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-01-29T21:37:02.791Z
- Modified: 2026-06-17T10:24:02.183Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MoonshotAI kimi-agent-sdk: < 0.1.6

## References

- <https://github.com/MoonshotAI/kimi-agent-sdk/security/advisories/GHSA-mv58-gxx5-8hj3>

## Sources

- CVE List: [CVE-2026-25046](https://www.cve.org/CVERecord?id=CVE-2026-25046), CVE Terms of Use, modified 2026-02-02
- NVD: [CVE-2026-25046](https://nvd.nist.gov/vuln/detail/CVE-2026-25046), Public domain, modified 2026-06-17

---

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