Patch Ticker
EnglishEN
Elevated

code-graph-rag shell allowlist bypass allows arbitrary code execution

CVE-2026-137185

An AI code analysis tool can let attackers control your PC.

CVE
CVE-2026-137185 (opens in a new tab)
Score
CVSS 7.3
First seen
7.3

Mitigation

Update code-graph-rag to 0.0.845 or later.

Summary

code-graph-rag is an AI-powered code analysis tool. Through the allowed xargs command, an attacker can run code outside the project root as the process user, affecting version 0.0.844 and earlier.

Affected when

  • Model-run shell command tool used in default mode or --yolo mode
  • xargs is on the allowlist in the default configuration
  • Version 0.0.844 and earlier

2 other Incidents of this product in the last 30 days

Incidents by product: code-graph-rag

Other recent Incidents of code-graph-rag

Read the advisory · github.com (opens in a new tab)