Skip to content
MediumVulnerability

CVE-2026-126758: Moonshot AI Kimi Code trust in untrusted inputs via local.toml additional_dir

Identifier
CVE-2026-126758
Published
Record updated
View JSON

Summary

CVE-2026-126758 affects Moonshot AI Kimi Code up to 2.0.2. Manipulating the additional_dir argument in the file .kimi-code/local.toml, within the WorkspaceDirsService component, causes the product to rely on untrusted inputs in a security decision. The attack requires local access, and a public exploit now exists.

Mitigation

Upgrade to version 2.1.0. Upgrading the affected component is recommended.