
New CVE-2026-77604 in Code Graph RAG's MCP server (fixed in 0.0.345): read_file skipped its path check when offset or limit was set. That branch did Path(root) / user_path, and pathlib drops root for absolute paths. Your own tools: resolve(), then relative_to(root).
Post summary
Disclosure of CVE-2026-77604, a path-traversal containment bypass in Code Graph RAG's MCP server read_file when offset/limit is set, which is already fixed in version 0.0.345. Since a specific fixed version is named, the post classifies as Patch, with root-cause technical detail but no PoC, exploit tool, or exploitation claims.
