Advisory

GHSA-647r-72hf-4vmh

Also known as: CVE-2026-10692, PYSEC-2026-2421

Summary

Code Index MCP is vulnerable to Uncontrolled Resource Consumption

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-06-03 00:30 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

code-index-mcp

PyPI · All systems

Affected

  • introduced 0, fixed 2.14.1 (ecosystem)

Fixed versions

2.14.1

Fix

  • Fixed version 2.14.1
    pip install --upgrade code-index-mcp==2.14.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences