CVE-2026-10692: Code index mcp Remote Code Execution Vulnerability

LOW
Advisory Identifier: GHSA-647r-72hf-4vmh
CVSS 4.3
CWE-400
Published
Advisory Summary

CVE-2026-10692 is a LOW (CVSS 4.3) remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Code index mcp libraries in the PyPI ecosystem. The issue involves code index mcp is vulnerable to uncontrolled resource consumption. Remediation is available by upgrading affected packages to version 2.14.1.

CVE-2026-10692 at a Glance

CVE Identifier CVE-2026-10692
GHSA Identifier GHSA-647r-72hf-4vmh
Severity LOW
CVSS v3.1 Base Score 4.3
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Code index mcp
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-10692

To remediate this vulnerability, upgrade all affected Code index mcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

code-index-mcp fixed: 2.14.1
pip install code-index-mcp>=2.14.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show code-index-mcp

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-10692, inspect your installed packages using pip:

pip show code-index-mcp

Analyze the terminal output to locate any version of Code index mcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.14.1), your application is affected.

Note: The pip show code-index-mcp command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Code index mcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A weakness has been identified in johnhuang316 code-index-mcp up to 2.14.0. Affected is the function is_safe_regex_pattern of the component search_code_advanced. Executing a manipulation of the argument regex can lead to inefficient regular expression complexity. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 2.14.1 is able to address this issue. This patch is called 25bc02fac74051ddae15ce79e952f00211b1ea6b. Upgrading the affected component is recommended.

CVE-2026-10692 Affected Code index mcp Versions

1 component(s)
Fixed Versions:
2.14.1
Product / Package Ecosystem Affected Versions Fixed Version
code-index-mcp
PyPI
< 2.14.1
2.14.1

References

Frequently Asked Questions

What is CVE-2026-10692?
CVE-2026-10692 is a security vulnerability in Code index mcp involving Code Index MCP is vulnerable to Uncontrolled Resource Consumption under CWE-400: Uncontrolled Resource Consumption.
Which Code index mcp versions are affected?
Affected versions include releases prior to 2.14.1 across affected packages: code-index-mcp.
What version fixes CVE-2026-10692?
Upgrading to 2.14.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is code-index-mcp affected?
Yes, code-index-mcp is affected in releases prior to 2.14.1. Upgrade your dependency to 2.14.1 or later.
What is the CVSS score of CVE-2026-10692?
CVE-2026-10692 has a CVSS v3.1 base score of 4.3 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-10692?
CVE-2026-10692 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check PyPI dependencies for CVE-2026-10692?
Run the dependency tree command: 'pip show code-index-mcp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-647r-72hf-4vmh",
  "modified" : "2026-07-10T17:16:29Z",
  "published" : "2026-06-03T00:30:27Z",
  "aliases" : [ "CVE-2026-10692" ],
  "summary" : "Code Index MCP is vulnerable to Uncontrolled Resource Consumption",
  "details" : "A weakness has been identified in johnhuang316 code-index-mcp up to 2.14.0. Affected is the function is_safe_regex_pattern of the component search_code_advanced. Executing a manipulation of the argument regex can lead to inefficient regular expression complexity. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 2.14.1 is able to address this issue. This patch is called 25bc02fac74051ddae15ce79e952f00211b1ea6b. Upgrading the affected component is recommended.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "code-index-mcp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.14.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-10692"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/johnhuang316/code-index-mcp/issues/84"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e952f00211b1ea6b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/johnhuang316/code-index-mcp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/cve/CVE-2026-10692"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/830786"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/367961"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/367961/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-10T17:16:29Z",
    "nvd_published_at" : "2026-06-03T00:16:31Z"
  }
}