5.3medium
johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-647r-72hf-4vmhPYSEC-2026-2421
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| johnhuang316 code-index-mcp | 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7 and 7 more Not affected: 2.14.1 | CVE List |
| code-index-mcp (PyPI) | before 2.14.1 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulDB | 5.3medium CVSS:4.0 | 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 |
| VulDB | 4.3medium CVSS:3.1 | 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 |
| VulDB | 4.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| VulDB | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
| GitHub | 4.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | low CVSS:4.0 | 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 |
| PyPA Advisory Database | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha identificado una debilidad en johnhuang316 code-index-mcp hasta la versión 2.14.0. La función afectada es is_safe_regex_pattern del componente search_code_advanced. La ejecución de una manipulación del argumento regex puede llevar a una complejidad de expresión regular ineficiente. Es posible lanzar el ataque de forma remota. El exploit se ha puesto a disposición del público y podría usarse para ataques. La actualización a la versión 2.14.1 puede solucionar este problema. Este parche se llama 25bc02fac74051ddae15ce79e952f00211b1ea6b. Se recomienda actualizar el componente afectado.
References
| https://vuldb.com/vuln/367961 | technical-description, vdb-entry, web | |
| https://vuldb.com/vuln/367961/cti | permissions-required, signature, web | |
| https://vuldb.com/cve/CVE-2026-10692 | third-party-advisory, web | |
| https://vuldb.com/submit/830786 | third-party-advisory, web | |
| https://github.com/johnhuang316/code-index-mcp/issues/84 | exploit, issue-tracking, web | |
| https://github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e952f00211b1ea6b | patch, web | |
| https://github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1 | patch, web | |
| https://github.com/johnhuang316/code-index-mcp/ | product | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-10692 | advisory | |
| https://github.com/johnhuang316/code-index-mcp | package | |
| https://pypi.org/project/code-index-mcp | package | |
| https://github.com/advisories/GHSA-647r-72hf-4vmh | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-10692 changed 2026-06-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-647r-72hf-4vmh changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-10692 changed 2026-07-22 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2421 changed 2026-07-13 | CC-BY-4.0 |