threatdeck
Live 14:45 UTC ·

AI Stack Alert High CVE-2026-77604 For CISO, SOC / IR, AppSec, AI Eng AI-assisted

CVE-2026-77604: Code Graph RAG MCP read_file path containment bypass (fixed in 0.0.345)

Code Graph RAG versions before 0.0.345 contain a path traversal flaw in MCPToolsRegistry.read_file in codebase_rag/mcp/tools.py. The paginated branch, selected when offset or limit is set, skips validate_project_path, so absolute or relative file paths can read files outside the project root. The issue is fixed in version 0.0.345.

Why it matters

An unauthenticated caller of a network-exposed HTTP MCP server can read any UTF-8 file the server process can access, such as credentials, private keys, and environment data. Local stdio callers can reach the same code path.

Do this

  1. Upgrade Code Graph RAG to version 0.0.345 or later.
  2. If upgrade is delayed, do not expose the HTTP MCP server to untrusted networks, and restrict access with network controls or authentication.
  3. Review server logs for read_file calls that include offset or limit parameters with absolute paths or '..' segments.
  4. Check the server process for readable secrets (cloud credentials, .env files, SSH keys) and rotate any that may have been exposed.
  5. Run the server under a least-privilege account with access limited to the project directory.

Exploit Clock

Exploitation unlikely (for now)

  • EPSS 0.38%

Signals

  • NoCISA KEV
  • 7.5CVSS
  • 0.38%EPSS
  • NoPublic PoC
  • 36/100Priority
  • 80%Confidence

Evidence

“the paginated branch bypasses that validation before opening the path”

NVD (AI keyword search)

“An unauthenticated caller of a network-exposed HTTP MCP server can therefore read arbitrary UTF-8-readable files available to the server process”

NVD (AI keyword search)

“This issue is fixed in version 0.0.345.”

NVD (AI keyword search)

Sources

Affected / related

Code Graph RAG, Code Graph RAG MCP server, path traversal

Published 2026-11-05 20:18 UTC · updated 2026-11-08 02:28 UTC · AI-assisted summary, checked against quoted sources · How we score

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.