CVE-2026-10692

johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos

State
Published
Severity
5.3 Medium
Published
Jun 2, 2026
Updated
Jun 3, 2026
Reserved
Jun 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PVulDB
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
3.04.3 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
2.04.0 MediumAV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:CVulDB

Weaknesses

  • CWE-1333 Inefficient Regular Expression Complexity
  • CWE-400 Resource Consumption

Affected Products

ProductVersions
code-index-mcpjohnhuang316
  • 2.0Affected
  • 2.1Affected
  • 2.2Affected
  • 2.3Affected
  • 2.4Affected
  • 2.5Affected
  • 2.6Affected
  • 2.7Affected
  • 2.8Affected
  • 2.9Affected
  • 2.10Affected
  • 2.11Affected
  • 2.12Affected
  • 2.13Affected
  • 2.14.0Affected
  • 2.14.1Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.