PYSEC-2026-2421
Vulnerability from pysec - Published: 2026-07-13 15:46 - Updated: 2026-07-13 16:03A 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.
| Name | purl | code-index-mcp | pkg:pypi/code-index-mcp |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "code-index-mcp",
"purl": "pkg:pypi/code-index-mcp"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.14.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.1.0",
"0.1.1",
"0.1.2",
"0.1.3",
"0.1.4",
"0.1.5",
"0.2.0",
"0.2.1",
"0.3.0",
"0.3.1",
"0.4.1",
"0.4.2",
"0.5.0",
"1.0.0",
"1.1.0",
"1.1.1",
"1.2.0",
"1.2.1",
"2.0.0",
"2.0.1",
"2.1.0",
"2.1.1",
"2.1.2",
"2.10.0",
"2.11.0",
"2.12.0",
"2.13.0",
"2.14.0",
"2.2.0",
"2.2.1",
"2.3.0",
"2.3.1",
"2.3.2",
"2.4.0",
"2.4.1",
"2.5.0",
"2.5.1",
"2.6.0",
"2.7.0",
"2.8.0",
"2.8.1",
"2.9.0",
"2.9.1",
"2.9.2",
"2.9.3",
"2.9.4"
]
}
],
"aliases": [
"CVE-2026-10692",
"GHSA-647r-72hf-4vmh"
],
"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.",
"id": "PYSEC-2026-2421",
"modified": "2026-07-13T16:03:44.918386Z",
"published": "2026-07-13T15:46:14.203113Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-10692"
},
{
"type": "WEB",
"url": "https://github.com/johnhuang316/code-index-mcp/issues/84"
},
{
"type": "WEB",
"url": "https://github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e952f00211b1ea6b"
},
{
"type": "PACKAGE",
"url": "https://github.com/johnhuang316/code-index-mcp"
},
{
"type": "WEB",
"url": "https://github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1"
},
{
"type": "WEB",
"url": "https://vuldb.com/cve/CVE-2026-10692"
},
{
"type": "WEB",
"url": "https://vuldb.com/submit/830786"
},
{
"type": "WEB",
"url": "https://vuldb.com/vuln/367961"
},
{
"type": "WEB",
"url": "https://vuldb.com/vuln/367961/cti"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/code-index-mcp"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-647r-72hf-4vmh"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"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",
"type": "CVSS_V4"
}
],
"summary": "Code Index MCP is vulnerable to Uncontrolled Resource Consumption"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.