{"data":{"id":"fc464eeb-f3c3-4d78-a1cf-a48ae3404a94","title":"GHSA-vvr2-h2jp-838m: Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read","summary":"The read_file MCP tool in codebase_rag/mcp/tools.py has a path traversal flaw in its paginated branch, triggered when offset or limit is supplied. The handler builds the path with Path(self.project_root) / file_path and never checks that the result stays inside the project root, so an absolute path such as /etc/passwd is read directly. The non-paginated branch is protected by @validate_project_path, but that decorator is not applied on the paginated path, which the source says is left completely unguarded.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-vvr2-h2jp-838m","publishedAt":"2026-11-09T21:21:32.000Z","cveId":"CVE-2026-77604","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["code-graph-rag@< 0.0.345 (fixed: 0.0.345)"],"affectedPackageNames":["code-graph-rag"],"affectedPackageRefs":["pypi:code-graph-rag"],"affectedVendors":[],"affectedVendorsRaw":["Code Graph RAG","MCP (Model Context Protocol) server"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00383,"epssCheckedAt":"2026-11-10T00:11:21.746Z","kevDateAdded":null,"advisoryAliases":["GHSA-vvr2-h2jp-838m"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-11-09T21:21:32.000Z","fixReleasedAt":"2026-07-14T17:23:47.385Z","daysToFix":-118,"fixCheckedAt":"2026-11-10T00:11:47.469Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"code-graph-rag","fixedVersion":"0.0.345","matchedVersion":"0.0.345","fixReleasedAt":"2026-07-14T17:23:47.385Z","daysToFix":-118,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-11-10T00:11:47.465Z"}]}}