CVE-2026-77604
Last modified
CVE-2026-77604 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vitali87 | code-graph-rag | < 0.0.345 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-77604?
How severe is CVE-2026-77604?
How do I fix CVE-2026-77604?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-77584Tor before 0.4.9.10 did not reject a CONFLUX_LINK cell that …8.2
- CVE-2026-77585The Okta Privileged Access client does not reject a leading …5.3
- CVE-2026-77586In MongoDB Connector for BI, MongoDB object names such as co…8
- CVE-2026-77587Tor before 0.4.9.11 is prone to a use-after-free (and potent…7.5
- CVE-2026-77601OpenC3 COSMOS provides the functionality needed to send comm…8.8
- CVE-2026-77602OpenC3 COSMOS provides the functionality needed to send comm…9.9
- CVE-2026-77605Notepad++ is a free and open-source source code editor. Prio…7.8
- CVE-2026-77606Semantic MediaWiki is a free, open-source extension to Media…6.1
- CVE-2026-77607Semantic MediaWiki is a free, open-source extension to Media…6.1
- CVE-2026-77608Semantic MediaWiki is a free, open-source extension to Media…6.1
- CVE-2026-77609Semantic MediaWiki is a free, open-source extension to Media…6.1
- CVE-2026-7761The Ultimate Member plugin for WordPress is vulnerable to Ac…8.8
Are you affected by CVE-2026-77604?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
