code-graph-rag MCP structural tools follow out-of-root symlinks (CVE-2026-87008)
A symbolic link planted in a repository analyzed by code-graph-rag makes its structural_search and structural_replace tools - exposed as MCP and agentic AI tools - read, and with dry_run=False overwrite, arbitrary files outside the configured project root, because the containment check is lexical and never calls is_symlink() or resolve(), unlike the project's own validate_project_path decorator used elsewhere. The advisory lists no patched version and notes the tested commit already carried the fix for the repo's earlier path-traversal advisory, CVE-2026-77604, ingested here on Nov 8.