THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-vvr2-h2jp-838m (high) — Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read

[GHSA] GHSA-vvr2-h2jp-838m (high) — Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read

highgithub_advisoriesPublished 2026-11-09

GHSA-vvr2-h2jp-838m Severity: high CVE: CVE-2026-77604

Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read

### Summary

The `read_file` MCP tool in `codebase_rag/mcp/tools.py` contains a path traversal vulnerability in its paginated branch (when `offset` or `limit` is supplied). The handler constructs a file path using `Path(self.project_root) / file_path` without subseq

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-vvr2-h2jp-838m