Skip to content
STAGE33R

CVE-2026-137185

HIGH 7.3

Summary

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.

Key facts

  • Vendor: vitali87
  • CVSS 3.1: 7.3 (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)
  • EPSS (30-day exploitation probability): 0.40%
  • Published: 2026-11-30
  • Last modified: 2026-12-01
  • Weakness: CWE-78, CWE-863

Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.

Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities