# CVE-2026-5125: raine consult-llm-mcp server.ts child_process.execSync os command injection

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/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): 1.01%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-30T17:00:13.107Z
- Modified: 2026-06-17T10:58:28.760Z
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was detected in raine consult-llm-mcp up to 2.5.3. Affected by this vulnerability is the function child_process.execSync of the file src/server.ts. The manipulation of the argument git_diff.base_ref/git_diff.files results in os command injection. The attack is only possible with local access. The exploit is now public and may be used. Upgrading to version 2.5.4 addresses this issue. The patch is identified as 4abf297b34e5e8a9cb364b35f52c5f0ca1d599d3. Upgrading the affected component is recommended.

(As written by CVE List.)

## Affected

- raine consult-llm-mcp: 2.5.0; 2.5.1; 2.5.2; 2.5.3 (not affected: 2.5.4)

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/user-attachments/files/25821105/consult-llm-mcp_bug.pdf> (exploit)
- <https://vuldb.com/vuln/354157> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/354157/cti> (permissions-required, signature)
- <https://vuldb.com/submit/780154> (third-party-advisory)
- <https://github.com/raine/consult-llm-mcp/issues/6> (issue-tracking)
- <https://github.com/raine/consult-llm-mcp/commit/4abf297b34e5e8a9cb364b35f52c5f0ca1d599d3> (patch)
- <https://github.com/raine/consult-llm-mcp/releases/tag/v2.5.4> (patch)
- <https://github.com/raine/consult-llm-mcp/> (product)

## Sources

- CVE List: [CVE-2026-5125](https://www.cve.org/CVERecord?id=CVE-2026-5125), CVE Terms of Use, modified 2026-03-31
- NVD: [CVE-2026-5125](https://nvd.nist.gov/vuln/detail/CVE-2026-5125), Public domain, modified 2026-06-17

---

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