johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos
Summary
| CVE | CVE-2026-10692 |
|---|---|
| State | PUBLISHED |
| Assigner | VulDB |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-03 00:16:31 UTC |
| Updated | 2026-07-22 19:10:00 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 2.1 LOW from [email protected]
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.003100000 probability, percentile 0.232050000 (date 2026-07-22)
Problem Types: CWE-400 | CWE-1333 | CWE-1333 Inefficient Regular Expression Complexity | CWE-400 Resource Consumption
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 2.1 | LOW | 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/C... |
| 4.0 | CNA | DECLARED | 5.3 | MEDIUM | 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 |
| 3.1 | [email protected] | Secondary | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | DECLARED | 4.3 | MEDIUM | 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 |
| 3.0 | CNA | DECLARED | 4.3 | MEDIUM | 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 |
| 2.0 | [email protected] | Secondary | 4 | AV:N/AC:L/Au:S/C:N/I:N/A:P | |
| 2.0 | CNA | DECLARED | 4 | AV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
NoneIntegrity
NoneAvailability
LowSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Johnhuang316 | Code-index-mcp | affected 2.0 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.1 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.2 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.3 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.4 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.5 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.6 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.7 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.8 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.9 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.10 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.11 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.12 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.13 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | affected 2.14.0 | Not specified |
| CNA | Johnhuang316 | Code-index-mcp | unaffected 2.14.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/johnhuang316/code-index-mcp/releases/tag/v2.14.1 | [email protected] | github.com | |
| github.com/johnhuang316/code-index-mcp | [email protected] | github.com | |
| vuldb.com/vuln/367961/cti | [email protected] | vuldb.com | |
| vuldb.com/vuln/367961 | [email protected] | vuldb.com | |
| vuldb.com/cve/CVE-2026-10692 | [email protected] | vuldb.com | |
| github.com/johnhuang316/code-index-mcp/commit/25bc02fac74051ddae15ce79e9... | [email protected] | github.com | |
| github.com/johnhuang316/code-index-mcp/issues/84 | [email protected] | github.com | |
| vuldb.com/submit/830786 | [email protected] | vuldb.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: skywings (VulDB User) (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-06-02T00:00:00.000Z | Advisory disclosed |
| CNA | 2026-06-02T02:00:00.000Z | VulDB entry created |
| CNA | 2026-06-02T17:48:32.000Z | VulDB entry last update |
There are currently no legacy QID mappings associated with this CVE.