StraitOfVuln
Latest / CVE-2026-137185

CVE-2026-137185

HighCVSS 7.3 (v3.1)Received
CVE.org ↗NVD ↗

Description

Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. In 0.0.844 and earlier, execute_shell_command in codebase_rag/tools/shell_command.py validates only the base command, not the program launched by allowlisted xargs. Its dangerous-pattern filter misses Python interpreter code using modules such as subprocess instead of importing os, allowing an unlisted interpreter to execute arbitrary code. An attacker influencing a model-issued command can execute code outside the project root as the process user after human approval in default mode, or without approval in --yolo mode. The noninteractive shell wrapper does not allow xargs. This issue is fixed in 0.0.845.

Details

CVE ID
CVE-2026-137185
Published / updated
30 Nov 2026, 19:17 UTC · last modified 01 Dec 2026, 14:18 UTC
Severity
HIGH
CVSS score
7.3 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H · Attack vector: Local
Affected vendor
vitali87
Affected products
code-graph-rag
Affected versions
code-graph-rag: < 0.0.845
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.40% probability of exploitation in the next 30 days · 36% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com