// Security Advisory Triage

code-graph-rag 0.0.344 and earlier: path traversal in MCP paginated read_file

GitHub advisories — pip · published 2026-11-13 06:50 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-vvr2-h2jp-838m on 9 November 2026, rating a path traversal vulnerability in the Python package code-graph-rag as high severity. The flaw is in the MCP paginated read_file function and allows arbitrary file read. CVE-2026-77604. Patched in version 0.0.345.
WHY IT MATTERSAn attacker can read files outside the intended directory scope through the paginated read_file interface, exposing configuration files, credentials, or other sensitive data the application process can access.
WHAT TO DOUpgrade code-graph-rag to version 0.0.345 or later. If you cannot upgrade immediately, verify whether your deployment uses the MCP paginated read_file function and restrict access to the component until patched.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-vvr2-h2jp-838m
+summary: Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
+severity: high
+published_at: 2026-11-09T21:21:32Z
+cve_id: CVE-2026-77604
+vulnerabilities[].package.name: code-graph-rag
+vulnerabilities[].first_patched_version: 0.0.345
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningNew high-severity advisory for Python package with arbitrary file read via path traversal. Affects services running code-graph-rag.
signalsnew advisory published · high severity rating · path traversal / arbitrary file read vulnerability · affects Python package in dependency tree · patched version available (0.0.345)
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)