Skip to content
HighVulnerabilityLLM-specific

CVE-2026-137185: Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing…

Identifier
CVE-2026-137185
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Code Graph RAG versions 0.0.844 and earlier have a flaw in execute_shell_command in codebase_rag/tools/shell_command.py. The validator checks only the base command and misses the program launched by the allowlisted xargs, and its dangerous-pattern filter does not catch Python interpreter code that uses subprocess instead of os. An attacker who influences a model-issued command can run arbitrary code outside the project root as the process user, after human approval in default mode or without approval in --yolo mode.

Mitigation

Fixed in 0.0.845.