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

Low 2.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-25046?

CVE-2026-25046 is a low-severity vulnerability in MoonshotAI kimi-agent-sdk, published on 29 Jan 2026.

Official 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.

Weakness: CWE-77

Which versions are affected by CVE-2026-25046?

How do I fix CVE-2026-25046?

No fix has been published for CVE-2026-25046 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-25046 being exploited?

There is no known exploitation of CVE-2026-25046 in the wild and no public exploit code.

Sources

Is CVE-2026-25046 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free