Vulnerability · Published Jun 2, 2026 · Assigned by VulDB
CVE-2026-10692johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos
Medium 4.3
In plain English
A medium-severity regular-expression denial of service in code-index-mcp from johnhuang316. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | code-index-mcp | 2.14.1 | GHSA-647r-72hf-4vmh |
| PyPI | code-index-mcp | 2.14.1 | PYSEC-2026-2421 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| johnhuang316 | code-index-mcp | 2.02.12.22.32.42.52.62.7 |
Weakness: CWE-1333, CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
References
- VDB-367961 | johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos vdb-entry, technical-description
- VDB-367961 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-10692 | CVE Analysis and Report third-party-advisory
- Submit #830786 | johnhuang316 code-index-mcp Latest Denial of Service third-party-advisory
- https://github.com/johnhuang316/code-index-mcp/issues/84 exploit, issue-tracking
- https://github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e952f00211b1ea6b patch
- https://github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1 patch
- https://github.com/johnhuang316/code-index-mcp/ product