# CVE-2026-10692: johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-02T23:45:12.046Z
- Modified: 2026-07-22T19:10:00.120Z
- Also known as: GHSA-647r-72hf-4vmh, PYSEC-2026-2421
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- johnhuang316 code-index-mcp: 2.0; 2.1; 2.2; 2.3; 2.4; 2.5; 2.6; 2.7; 2.8; 2.9; 2.10; 2.11; and 3 more (not affected: 2.14.1)
- code-index-mcp (PyPI): before 2.14.1

## Every score

- VulDB: CVSS:4.0 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`
- VulDB: CVSS:3.1 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`
- VulDB: CVSS:3.0 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`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`
- GitHub: CVSS:3.1 4.3 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 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`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: 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`

## References

- <https://github.com/johnhuang316/code-index-mcp/issues/84> (exploit, issue-tracking, web)
- <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/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

- CVE List: [CVE-2026-10692](https://www.cve.org/CVERecord?id=CVE-2026-10692), CVE Terms of Use, modified 2026-06-03
- GitHub Advisory Database: [GHSA-647r-72hf-4vmh](https://github.com/advisories/GHSA-647r-72hf-4vmh), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-10692](https://nvd.nist.gov/vuln/detail/CVE-2026-10692), Public domain, modified 2026-07-22
- PyPA Advisory Database: [PYSEC-2026-2421](https://osv.dev/vulnerability/PYSEC-2026-2421), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-10692 · Whole record: https://cve.day/CVE-2026-10692.json · Rebuilt by cve.day 2026-11-25T22:59:23.620Z
