CVE-2026-77604

HIGH
MEDIUM Priority: 0.03 BB Relevance: 75/100
Published: 2026-11-05 Modified: 2026-11-12 First seen: 2026-11-05 Status: active

Attack Surface

Network Low Complexity No Auth No Interaction Conf. Impact

CVSS Vector Breakdown

AV: Network
AC: Low
PR: None
UI: None
S: Unchanged
C: High
I: None
A: None

Description

Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. Prior to 0.0.345, the MCPToolsRegistry.read_file implementation in codebase_rag/mcp/tools.py joins attacker-controlled file_path input to project_root without resolving and verifying containment when offset or limit selects the paginated branch. An absolute path causes pathlib to discard the configured root, while relative traversal can also resolve outside it. The protected non-paginated branch uses validate_project_path, but the paginated branch bypasses that validation before opening the path. An unauthenticated caller of a network-exposed HTTP MCP server can therefore read arbitrary UTF-8-readable files available to the server process, including credentials, environment data, private keys, source, and configuration; local callers through the stdio transport can reach the same vulnerable code path. This issue is fixed in version 0.0.345.

Weakness Classification (1)

Affected Software (2)

VendorProductVersion
vitali87 code-graph-rag < 0.0.345
vitali87 code-graph-rag < 0.0.345

Bug Bounty Relevance

75 / 100
✓ Network accessible
✓ No authentication
✓ Low complexity
✓ No user interaction

CVSS Score

7.5 / 10.0 v3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS — Exploitation Probability

0.39%
Raw Score 0.003910
Percentile 33.8%
Date 2026-11-14

EPSS Trend

2026-11-14
0.00391
2026-11-13
0.00391
2026-11-12
0.00391
2026-11-10
0.00391
2026-11-09
0.00383
2026-11-08
0.00383
2026-11-07
0.00383
2026-11-06
0.00383

Intelligence Sources

mitre ref →
nvd ref →