Skip to content
Heist/ feed
Back to feed
Low

johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-10692
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:26 UTC · Revision 1

Source evidence

johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos

core-osv · Original source

Published 2 Jun 2026, 23:45 UTC

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.

osv:CVE-2026-10692
Complete source record
{
  "id": "e142f6155cc3e453759d121986349acc60eaa0eafd56487433c286757fcd25d2",
  "url": "https://osv.dev/vulnerability/CVE-2026-10692",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos",
    "summary": "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.",
    "evidence": "osv:CVE-2026-10692",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-10692",
      "aliases": [
        "CVE-2026-10692",
        "GHSA-647r-72hf-4vmh",
        "PYSEC-2026-2421"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS: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:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/johnhuang316/code-index-mcp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6f7f8d0723a4b4ff533dc3817f2b678c5c314a33"
                },
                {
                  "fixed": "25bc02fac74051ddae15ce79e952f00211b1ea6b"
                },
                {
                  "fixed": "ca0491f93053528e1447d0af6ce3d48fcff18bc7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.0"
                      },
                      {
                        "last_affected": "2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.1"
                      },
                      {
                        "last_affected": "2.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.2"
                      },
                      {
                        "last_affected": "2.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.3"
                      },
                      {
                        "last_affected": "2.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.4"
                      },
                      {
                        "last_affected": "2.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.5"
                      },
                      {
                        "last_affected": "2.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.6"
                      },
                      {
                        "last_affected": "2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.7"
                      },
                      {
                        "last_affected": "2.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.8"
                      },
                      {
                        "last_affected": "2.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.9"
                      },
                      {
                        "last_affected": "2.9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.10"
                      },
                      {
                        "last_affected": "2.10"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.11"
                      },
                      {
                        "last_affected": "2.11"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.12"
                      },
                      {
                        "last_affected": "2.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.13"
                      },
                      {
                        "last_affected": "2.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.14.0"
                      },
                      {
                        "last_affected": "2.14.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "25bc02fac74051ddae15ce79e952f00211b1ea6b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ca0491f93053528e1447d0af6ce3d48fcff18bc7"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.14.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0",
            "2.1",
            "2.10",
            "2.11",
            "2.12",
            "2.13",
            "2.14.0",
            "2.2",
            "2.3",
            "2.4",
            "2.5",
            "2.6",
            "2.7",
            "2.8",
            "2.9",
            "v2.14.0",
            "v2.13.0",
            "v2.12.0",
            "v2.11.0",
            "v2.10.0",
            "v2.9.4",
            "v2.9.3",
            "v2.9.2",
            "v2.9.1",
            "v2.9.0",
            "v2.8.1",
            "v2.8.0",
            "v2.7.0",
            "v2.6.0",
            "v2.5.1",
            "v2.5.0",
            "v2.4.1",
            "v2.4.0",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.1",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-10692.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.945370131Z",
      "provider": "osv",
      "references": [
        "https://github.com/johnhuang316/code-index-mcp/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10692.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-10692",
        "https://vuldb.com/cve/CVE-2026-10692",
        "https://vuldb.com/submit/830786",
        "https://vuldb.com/vuln/367961",
        "https://github.com/johnhuang316/code-index-mcp/issues/84",
        "https://vuldb.com/vuln/367961/cti",
        "https://github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e952f00211b1ea6b",
        "https://github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333",
          "CWE-400"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10692.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-10692",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506156,
  "published_at": "2026-06-02T23:45:12.046+00:00"
}