CVE-2026-137185
Last modified
CVE-2026-137185 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vitali87 | code-graph-rag | < 0.0.845 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-137185?
How severe is CVE-2026-137185?
How do I fix CVE-2026-137185?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-13718The Tabs Responsive WordPress plugin through 2.5 does not s…6.8
- CVE-2026-137180Breeze is an open source IT platform combining remote monito…9.9
- CVE-2026-137181OpenFGA is an authorization and permission engine built for …5.9
- CVE-2026-137182Tinyauth is an authentication and authorization server. From…9.1
- CVE-2026-137183Databasement is a self-hosted database backup management app…8.5
- CVE-2026-137184PowerShell MCP is a Model Context Protocol server for headle…7.8
- CVE-2026-137186pluggedin-app is a self-hostable web interface for managing …8.7
- CVE-2026-137187@zereight/mcp-gitlab is a Model Context Protocol server for …5.4
- CVE-2026-137188PinePaper MCP server enables AI tools to create animated gra…6.1
- CVE-2026-137189Jupyter MCP Server is a Model Context Protocol server for Ju…9.3
- CVE-2026-13719An authenticated user can list alert rules stored in folders…4.3
- CVE-2026-137190Vite+ is a unified toolchain and entry point for web develop…7
Are you affected by CVE-2026-137185?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
