CVE-2026-10692
JSON

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 packageVersionsReported by
johnhuang316 code-index-mcp2.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.1GitHub Advisory Database, PyPA Advisory Database

All scores

VulDB5.3medium CVSS:4.0CVSS: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
VulDB4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
VulDB4.3medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
VulDB4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C
GitHub4.3low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
GitHublow CVSS:4.0CVSS: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 Database4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-400CWE-1333

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-10692 changed 2026-06-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-647r-72hf-4vmh changed 2026-07-13CC-BY-4.0
NVDCVE-2026-10692 changed 2026-07-22Public domain
PyPA Advisory DatabasePYSEC-2026-2421 changed 2026-07-13CC-BY-4.0