CVE-2026-126758

Source
https://cve.org/CVERecord?id=CVE-2026-126758
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126758.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126758
Published
2026-11-11T23:00:47Z
Modified
2026-11-15T02:30:53Z
Severity
  • 1.9 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision
Details

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

Database specific
{
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-20",
        "CWE-807"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126758.json"
}
References

Affected packages

Git / github.com/moonshotai/kimi-code

Affected ranges

Type
GIT
Repo
https://github.com/moonshotai/kimi-code
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "2.0.0"
                },
                {
                    "last_affected": "2.0.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "introduced": "2.0.1"
                },
                {
                    "last_affected": "2.0.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "introduced": "2.0.2"
                },
                {
                    "last_affected": "2.0.2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "2.0.2"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}

Affected versions

2.*
2.0.0
2.0.1
2.0.2
@moonshot-ai/kimi-code@2.*
@moonshot-ai/kimi-code@2.0.0
@moonshot-ai/kimi-code@2.0.1
@moonshot-ai/kimi-code@2.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126758.json"