CVE-2026-25046

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

LOW
2.9
CVSS Score
Published: January 29, 2026 at 09:37 PM UTC
Updated: June 17, 2026 at 10:24 AM UTC
1 product affected across 1 vendorKimi Agent SDK

Using kimi-agent-sdk by MoonshotAI?

Get instant alerts when new vulnerabilities affect kimi-agent-sdk - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW2.9
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.1.6
Affected range stops below 0.1.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

2.9LOWGitHub_M
Attack Vector
LOCAL
Complexity
HIGH
Privileges
HIGH
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-77

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card