Code Index MCP is vulnerable to Uncontrolled Resource Consumption
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | code-index-mcp | < 2.14.1 | 2.14.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-10692
- https://github.com/johnhuang316/code-index-mcp/issues/84
- https://github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e952f00211b1ea6b
- https://github.com/johnhuang316/code-index-mcp
- https://github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1
- https://vuldb.com/cve/CVE-2026-10692
- https://vuldb.com/submit/830786
- https://vuldb.com/vuln/367961
- https://vuldb.com/vuln/367961/cti
- https://pypi.org/project/code-index-mcp
- https://github.com/advisories/GHSA-647r-72hf-4vmh
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L- Weakness (CWE)
CWE-400- Platform
- Python (PyPI)
- Package
code-index-mcp- Disclosed
- 03.06.2026
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2421 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-647r-72hf-4vmh - CC BY 4.0
Vulnerability history: code-index-mcp
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.