All security reports
NVD security advisoryHigh

CVE-2026-137185 · vitali87 / code-graph-rag

CVE-2026-137185 · Reported 30 Nov 2026

Full advisory details, affected packages, severity context, and original source.

Affected technology

vitali87 / code-graph-ragPython ecosystem

Affected versions and fixes

Version information comes from OSV, NVD, and the CVE vendor record. Each source may describe a different package, release branch, or platform.

vitali87 / code-graph-rag

CVE vendor record
  • affected: < 0.0.845

Fixed releases / commits: Not explicitly provided by this source. Check the vendor guidance.

Advisory overview

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.

How Cevnitra tracks this

Cevnitra maps this NVD record onto Python inventories. Teams watching vitali87 / code-graph-rag get a watchlist hit when a scan or advisory refresh matches CVE-2026-137185.

Related references

Your vulnerabilities. One clear dashboard.

Find and review known vulnerabilities across your applications and infrastructure in one dashboard, so your team can see what needs attention and take action to fix it.

Create your account