PT-2026-163926

CVE-2026-137185

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

CVSS 3.1
7.3
High
MetricsAV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Code Graph RAG versions prior to 0.0.845
Description An issue exists in the execute shell command function within codebase rag/tools/shell command.py where the system validates only the base command and fails to validate the program launched by allowlisted xargs. The dangerous-pattern filter does not account for Python interpreter code that utilizes modules like subprocess instead of importing os, which allows an unlisted interpreter to execute arbitrary code. An attacker who can influence a model-issued command may execute code outside the project root with the privileges of the process user. This can occur after human approval in default mode or without approval when operating in --yolo mode. The noninteractive shell wrapper does not allow xargs.
Recommendations Update to version 0.0.845.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-WVXG-744G-6PCG
Found an issue in the description? Have something to add? Feel free to write us 👾