CVE-2026-137185: vitali87 code-graph-rag · OS Command Injection
Affects vitali87 code-graph-ragSource CVE Database V5
Not known to be exploited · CVSS 7.3 High : upgrade to 0.0.845 soon.
Data as of 30 Nov 2026, 19:00 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.3 |
|---|
- Patch
- Available – fixed in 0.0.845
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade vitali87 code-graph-rag to 0.0.845.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| vitali87code-graph-rag | Affected
| Fixed in
|
AI-suggested
Upgrade to version 0.0.845 or later, where the vulnerability is fixed. The fix addresses proper validation of commands launched by allowlisted xargs and improves dangerous-pattern filtering to detect Python interpreter code using subprocess and similar modules.
Description
Code Graph RAG versions 0.0.844 and earlier contain an OS command injection vulnerability in the execute_shell_command function. The function validates only the base command but not the program launched by allowlisted xargs, missing dangerous patterns involving Python interpreter code using modules like subprocess. This allows an attacker who can influence model-issued commands to execute arbitrary code outside the project root as the process user, either after human approval in default mode or without approval in --yolo mode. The issue is fixed in version 0.0.845.
References
- github.com/vitali87/code-graph-rag/security/advisories/GHSA-wvxg-744g-6pcg (opens in a new tab)
- github.com/vitali87/code-graph-rag/commit/033b64be855c0d2c0767d8dd225fe0129ebe05da (opens in a new tab)
- github.com/vitali87/code-graph-rag/commit/25c4c7ecfc8d030380ab11fbacd412db210193fc (opens in a new tab)
- github.com/vitali87/code-graph-rag/releases/tag/v0.0.845 (opens in a new tab)