CVE-2026-126758: Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision

Published Nov 11, 2026
·
Updated

A vulnerability was detected in Moonshot AI Kimi Code up to 2.0.2. This vulnerability affects unknown code of the file .kimi-code/local.toml of the component WorkspaceDirsService. Performing a manipulation of the argument additionaldir results in reliance on untrusted inputs in a security decision. The attack requires a local approach. The exploit is now public and may be used. Upgrading to version 2.1.0 is able to resolve this issue. Upgrading the affected component is recommended.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Moonshot AI Kimi Code to a version that resolves this vulnerability.

    Fixed in 2.1.0

Event History

Nov 11, 2026
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of Moonshot AI Kimi Code versions up to 2.0.2 are affected where the WorkspaceDirsService processes the additional_dir value in .kimi-code/local.toml. Exploitation requires local access and low-level privileges.

2

What does an attacker need to exploit it?

An attacker needs the ability to locally manipulate the additional_dir argument associated with .kimi-code/local.toml. No user interaction is required.

3

Is a public exploit available?

Yes. The exploit is public and may be used.

4

What should be done to remediate the issue?

Upgrade Moonshot AI Kimi Code to version 2.1.0, which resolves the issue. Upgrading the affected component is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203