CVE-2026-137185
Code Graph RAG shell allowlist permits unvetted programs behind allowed launchers
vitali87 · code-graph-rag
First documented disclosure · Review checkpoint
Summary
An allowed launcher can run an unlisted interpreter outside the project’s filesystem boundary.
Severity and exploitation evidence
High · 7.3/10 · CVSS 3.1. Severity source.
Exploitation not established: The original report and triage addendum describe controlled execution tests, including shipped and fix-development vectors. These are not malicious exploitation or identified victims; tests were not repeated.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
Validation checked the first command token while xargs could launch a second program. A narrow Python import blacklist missed other modules. The advisory also describes two Git relocation vectors present in shipped code.
Conditions required
An attacker influences a model-issued command or the analyzed repository. Default mode still needs one human approval; --yolo runs without it. The separate noninteractive wrapper does not allow xargs.
Potential impact
Code executes with the process user’s privileges outside the project root, subject to that account’s OS permissions.
Affected versions and configurations
code-graph-rag through 0.0.844, as identified by the maintainer advisory and release.
Fix and mitigation status
Stable 0.0.845 was released September 2 and identifies the shell-launcher correction. The advisory distinguishes two additional shipped Git vectors from five bypasses introduced or found only during fix development.
Practical next steps
Update to 0.0.845 or a later verified corrected package, retain human review of shell actions and isolate execution when analyzing untrusted repositories.
Operating lesson
An allowlisted program that launches other programs requires recursive policy checks or external isolation.
Evidence and limits
The September 2 advisory and security release are the verified public disclosure. An earlier August 31 correction commit is visible, but its author timestamp alone does not establish an earlier publication time. Claimed private August 30 contact is not used as disclosure. Issuing CNA publication was 2026-11-30, distinct from the earliest verified public disclosure used here. Severity is GitHub_M CNA CVSS 3.1 High 7.3. Static review only; upstream tests were not repeated.
Sources
- Full advisory and triage addendum
Primary source ·
- Stable security release
Primary source ·
- Issuing CNA record
Primary source ·