脆弱性の一覧へ戻る
編集部の見出し:Code Graph RAG(MCP サーバー):任意ファイルの読み出し(7.5)
NVD の情報
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.
- 公開日
- 2026-11-05
- 最終更新(NVD)
- 2026-11-05
- NVD の状態
- Received
- 脆弱性の種類
- CWE-22
深刻度(CVSS)
- 7.5 HighCVSS 3.1/副/評価:security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
解消方法
- Code Graph RAG のバージョンアップ0.0.589 以降根拠:公告(編集部の転記)
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-06 のレポートCode Graph RAG(MCP サーバー):任意ファイルの読み出し(7.5)
0.0.589 で修正。87008(7.1)は PoC あり(SSVC)。
悪用状況(編集部):不明
公告に記載の修正版
- Code Graph RAG 0.0.589公告
参照(NVD)
NVD から取得:2026-11-06T09:45:17.210Z
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。