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.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 76.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIcode-index-mcp2.14.1GHSA-647r-72hf-4vmh
PyPIcode-index-mcp2.14.1PYSEC-2026-2421

Affected products (as reported)

VendorProductVersions
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