Skip to main content
VulnerabilityPublished

CVE-2026-137185: vitali87 code-graph-rag · OS Command Injection

Affects vitali87 code-graph-ragSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.3 High : upgrade to 0.0.845 soon.

Data as of 30 Nov 2026, 19:00 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
vitali87code-graph-ragAffected
  • <0.0.845
Fixed in
  • 0.0.845

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

Community reviews

Loading reviews…