CVE-2026-10692 Details
Description
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.
A regular expression denial-of-service (ReDoS) vulnerability has been identified in johnhuang316 code-index-mcp versions through 2.14.0. The issue arises in the 'search_code_advanced' component, where the 'is_safe_regex_pattern' function fails to properly validate user-supplied regular expression patterns. This oversight allows for the introduction of inefficient regex patterns that can be exploited to cause excessive backtracking, leading to significant CPU exhaustion. The vulnerability can be exploited remotely, especially when the application is running without external search tools like ripgrep, ag, or grep, which are necessary to disable the vulnerable regex handling.
Users are advised to upgrade to version 2.14.1, which addresses the vulnerability by making regex search opt-in and ensuring that the basic fallback does not execute regex operations. The update also requires the presence of a native search tool to enable regex mode.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 3, 2026CISA-ADP
Assessed Jun 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/johnhuang316/code-index-mcp/ | [email protected] | ProductSource CodeVendor |
| https://github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e952f00211b1ea6b | [email protected] | Source CodeVendor |
| https://github.com/johnhuang316/code-index-mcp/issues/84 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1 | [email protected] | Release NotesVendor |
| https://vuldb.com/cve/CVE-2026-10692 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/830786 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/367961 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/367961/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| johnhuang316 code-index-mcp | <= 2.14.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 3, 2026 | New CVE Received | [email protected] |
Volerion