{"id":"CVE-2026-10692","published":"2026-06-02T23:45:12Z","modified":"2026-06-03T14:10:25Z","title":"johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos","vendor":"johnhuang316","product":"code-index-mcp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00545,"percentile":0.39279,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://vuldb.com/vuln/367961","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/367961/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-10692","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/830786","tags":["third-party-advisory"]},{"url":"https://github.com/johnhuang316/code-index-mcp/issues/84","tags":["exploit","issue-tracking"]},{"url":"https://github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e952f00211b1ea6b","tags":["patch"]},{"url":"https://github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1","tags":["patch"]},{"url":"https://github.com/johnhuang316/code-index-mcp/","tags":["product"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":7.86},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"johnhuang316","affectedVersions":[{"vendor":"johnhuang316","product":"code-index-mcp","versions":["2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9"]}],"fixedVersions":[{"vendor":"johnhuang316","product":"code-index-mcp","versions":["2.14.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T14:10:14.252640Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"code-index-mcp","vulnerableRanges":["<2.14.1"],"patched":["2.14.1"],"from":["GHSA-647r-72hf-4vmh","PYSEC-2026-2421"],"provenance":"source"}],"summary":{"text":"The johnhuang316 code-index-mcp product contains a flaw in the is_safe_regex_pattern function of its search_code_advanced component, present in versions up to 2.14.0. An attacker with remote access and low-privilege authentication can supply a crafted regex argument that triggers inefficient regular expression complexity, causing resource exhaustion (denial of service), with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:02Z"},"euvd":{"id":"EUVD-2026-34057","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/johnhuang316/code-index-mcp/issues/84"]}