23 matches found
code-graph-rag-PoC
code-graph-rag: security advisory CVE status: requested, pending assignment. This finding is published as GHSA-85gg-2gfq-q95m. On CVE assignment this repository is renamed CVE-YYYY-NNNNN-code-graph-rag-PoC and this banner is replaced with the CVE link. | ---|--- Researcher| Dostxodjayev Abdullox...
GHSA-85GG-2GFQ-Q95M Code Graph RAG structural tools follow out-of-root symlinks
A remote/local attacker who can get a symbolic link included in a source-code repository that code-graph-rag analyzes can cause the structuralsearch and structuralreplace tools backed by AstGrepService, exposed both as MCP tools and as agentic AI tools to read and -- via structuralreplace with...
EUVD-2026-117781
Code Graph RAG structural tools follow out-of-root symlinks...
Code Graph RAG structural tools follow out-of-root symlinks
A remote/local attacker who can get a symbolic link included in a source-code repository that code-graph-rag analyzes can cause the structuralsearch and structuralreplace tools backed by AstGrepService, exposed both as MCP tools and as agentic AI tools to read and -- via structuralreplace with...
Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
Summary The readfile MCP tool in codebaserag/mcp/tools.py contains a path traversal vulnerability in its paginated branch when offset or limit is supplied. The handler constructs a file path using Pathself.projectroot / filepath without subsequently validating that the resolved path remains withi...
EUVD-2026-117780
Code Graph RAG: MCP paginated readfile path traversal / arbitrary file read...
GHSA-VVR2-H2JP-838M Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
Summary The readfile MCP tool in codebaserag/mcp/tools.py contains a path traversal vulnerability in its paginated branch when offset or limit is supplied. The handler constructs a file path using Pathself.projectroot / filepath without subsequently validating that the resolved path remains withi...
CVE-2026-77604
A flaw was found in Code Graph RAG. When handling paginated file read requests, the application fails to properly validate and restrict file paths against the intended root directory. An unauthenticated attacker can exploit this vulnerability using absolute file paths or directory traversal...
CVE-2026-87008
Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. Prior to 0.0.589, AstGrepService in codebaserag/tools/astgrepservice.py enumerates files beneath projectroot and relies on shouldskippath in...
CVE-2026-77604
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.readfile implementation in codebaserag/mcp/tools.py joins attacker-controlled filepath input to projectroot without...
CVE-2026-87008 Code Graph RAG structural tools follow out-of-root symlinks
Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. Prior to 0.0.589, AstGrepService in codebaserag/tools/astgrepservice.py enumerates files beneath projectroot and relies on shouldskippath in...
CVE-2026-87008
The Code Graph RAG system (prior to version 0.0.589 ) is vulnerable to a path traversal issue where structural tools follow out-of-root symlinks . The root cause is that AstGrepService in codebase_rag/tools/ast_grep_service.py performs containment checks on unresolved lexical paths via should_ski...
CVE-2026-87008 Code Graph RAG structural tools follow out-of-root symlinks
Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. Prior to 0.0.589, AstGrepService in codebaserag/tools/astgrepservice.py enumerates files beneath projectroot and relies on shouldskippath in...
CVE-2026-87008 Code Graph RAG structural tools follow out-of-root symlinks
Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. Prior to 0.0.589, AstGrepService in codebaserag/tools/astgrepservice.py enumerates files beneath projectroot and relies on shouldskippath in...
CVE-2026-77604
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.readfile implementation in codebaserag/mcp/tools.py joins attacker-controlled filepath input to projectroot without...
CVE-2026-77604
Prior to version 0.0.345 , Code Graph RAG is vulnerable to arbitrary file read via a path traversal flaw in the MCPToolsRegistry.read_file implementation located in codebase_rag/mcp/tools.py. The root cause is that the paginated branch of the code joins attacker-controlled file_path input to proj...
CVE-2026-77604 Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
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.readfile implementation in codebaserag/mcp/tools.py joins attacker-controlled filepath input to projectroot without...
CVE-2026-77604 Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
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.readfile implementation in codebaserag/mcp/tools.py joins attacker-controlled filepath input to projectroot without...
CVE-2026-87008: vitali87 code-graph-rag: Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing…
Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. Prior to 0.0.589, AstGrepService in codebaserag/tools/astgrepservice.py enumerates files beneath projectroot and relies on shouldskippath in...
PT-2026-137732
Name of the Vulnerable Software and Affected Versions Code Graph RAG versions prior to 0.0.345 Description The MCPToolsRegistry.read file function in codebase rag/mcp/tools.py fails to properly resolve and verify the containment of the file path variable when the offset or limit parameters trigge...