Download Latest Version code-graph-rag-windows-amd64.exe (52.9 MB)
Email in envelope

Get an email when there's a new version of Code-Graph-RAG

Home / v0.0.845
Name Modified Size InfoDownloads / Week
Parent folder
multiple.intoto.jsonl 2026-09-02 11.5 kB
code-graph-rag-darwin-amd64.sigstore.json 2026-09-02 10.3 kB
code-graph-rag-darwin-arm64.sigstore.json 2026-09-02 10.2 kB
code-graph-rag-linux-amd64.sigstore.json 2026-09-02 10.3 kB
code-graph-rag-windows-amd64.exe.sigstore.json 2026-09-02 10.1 kB
code-graph-rag-darwin-amd64 2026-09-02 52.9 MB
code-graph-rag-windows-amd64.exe 2026-09-02 52.7 MB
code-graph-rag-linux-amd64 2026-09-02 70.4 MB
code-graph-rag-darwin-arm64 2026-09-02 51.7 MB
README.md 2026-09-02 6.0 kB
v0.0.845 source code.tar.gz 2026-09-02 13.1 MB
v0.0.845 source code.zip 2026-09-02 13.9 MB
Totals: 12 Items   254.8 MB 3

๐Ÿ”’ Security

This release closes an EXECUTE_SHELL allowlist bypass: several allowlisted commands are generic "run anything" primitives, so an attacker-controlled repository could reach unconfined code execution through a command the allowlist treated as benign.

GHSA-wvxg-744g-6pcg - allowlisted launchers reach unconfined RCE (High, CVSS 7.3, CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, CWE-78 / CWE-863). xargs is allowlisted, but nothing stopped it launching an interpreter that is not (python3, perl, ruby, node, ...); the single blacklist rule meant to catch this only fired when a Python one-liner imported os by name, so subprocess, pty or ctypes slipped past. Execution was neither sandboxed to the project root nor limited to the allowlisted set, gated only by the approval step - one click in default mode, nothing under --yolo. The same review found six further spellings of the same class, all fixed here: sed writing outside the project root via -e 'w FILE', -i and -l flag clusters, sed -f running an unvetted script file, git --exec-path resolving a planted git-<name> binary, and git --git-dir / -C pointing at a repository whose alias.* config runs an arbitrary shell command. The guards now live on the launcher recursion, so nesting one allowlisted launcher inside another cannot weaken the decision. Credit: @SyedAnas01.

Affected: <= 0.0.844 ยท Patched: 0.0.845. Upgrade to 0.0.845 if you run cgr against repositories you do not fully control.

Highlights

  • Security: Fixes an EXECUTE_SHELL allowlist bypass where allowlisted launchers (xargs, sed, git) could run unvetted programs or write outside the project root - advisory GHSA-wvxg-744g-6pcg. Upgrade is strongly recommended for anyone running cgr (CLI, agent, or MCP) against untrusted repositories.
  • Test Reliability: Guard grammar-dependent tests on the production loader to prevent failures.
  • Index Consistency: Ensure incremental deletes match clean index states.
  • Patch Reporting: Distinguish between unverifiable and verified patches in reports.
  • Windows Teardown: Clear the read-only bit when removing a temp repo for successful Windows teardown.
  • TypeScript Grading: Grade TypeScript inheritance against the tsc oracle for improved accuracy.
  • Exclude Set Handling: Record the exclusion set to ensure --exclude flags are correctly applied across runs.
  • MCP Indexing: Honour .cgrignore and .gitignore in MCP index and update processes, matching the CLI.

What's Changed

Full Changelog: https://github.com/vitali87/code-graph-rag/compare/v0.0.820...v0.0.845

Source: README.md, updated 2026-09-02