Skip to main content
← All vulnerabilities
CVE-2026-25046

[Kimi VS Code] Command Injection in publish scripts vsix-publish.js and ovsx-publish.js

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MoonshotAI kimi-agent-sdk

    fixed in 0.1.6

References 1

GitHub · MoonshotAI/kimi-agent-sdk