---
title: "CVE-2026-137185: Code Graph RAG - Command Injection"
description: "Code Graph RAG <= 0.0.844 contains a command injection caused by insufficient validation of commands launched via allowlisted xargs in execute_shell_command, letting attackers execute arbitrary code as the process user, exploit requires attacker influence on model-issued commands."
url: https://panop.io/threat-heartbeat/CVE-2026-137185/
---

# CVE-2026-137185 Code Graph RAG - Command Injection

Code Graph RAG <= 0.0.844 contains a command injection caused by insufficient validation of commands launched via allowlisted xargs in execute\_shell\_command, letting attackers execute arbitrary code as the process user, exploit requires attacker influence on model-issued commands.

CVSS base score 7.3 /10

High

CISA KEV

Not listed

Public exploit

None known

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-137185)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Published

30 November 2026

Updated

1 December 2026

Weakness

[CWE-78](https://cwe.mitre.org/data/definitions/78.html)

## Vendor fix

Update to version 0.0.845 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-137185](https://nvd.nist.gov/vuln/detail/CVE-2026-137185)
- [https://github.com/vitali87/code-graph-rag/commit/033b64be855c0d2c0767d8dd225fe0129ebe05da](https://github.com/vitali87/code-graph-rag/commit/033b64be855c0d2c0767d8dd225fe0129ebe05da)
- [https://github.com/vitali87/code-graph-rag/commit/25c4c7ecfc8d030380ab11fbacd412db210193fc](https://github.com/vitali87/code-graph-rag/commit/25c4c7ecfc8d030380ab11fbacd412db210193fc)
- [https://github.com/vitali87/code-graph-rag/releases/tag/v0.0.845](https://github.com/vitali87/code-graph-rag/releases/tag/v0.0.845)
- [https://github.com/vitali87/code-graph-rag/security/advisories/GHSA-wvxg-744g-6pcg](https://github.com/vitali87/code-graph-rag/security/advisories/GHSA-wvxg-744g-6pcg)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
