本文へ移動

#CVE-2026-87008

脆弱性の一覧へ戻る

編集部の見出し:Code Graph RAG:リポジトリ内のシンボリックリンクで範囲外の読み書き

CVE(NVD)CVSS 7.1 High

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.589, AstGrepService in codebase_rag/tools/ast_grep_service.py enumerates files beneath project_root and relies on should_skip_path in codebase_rag/utils/path_utils.py to classify them, but the containment check operates on unresolved lexical paths. A symbolic link planted inside an analyzed repository can therefore reference a file outside the configured root while still appearing in scope. The structural_search tool follows the link and discloses readable content without an approval gate, while structural_replace with dry_run=False follows it and overwrites writable content; the MCP path invokes structural replacement without the agent-loop approval control. An attacker who causes a victim to analyze a repository containing such a link can read credentials, keys, environment files, or sibling source and can modify files accessible to the code-graph-rag process. This issue is fixed in version 0.0.589.

公開日
2026-11-05
最終更新(NVD)
2026-11-05
NVD の状態
Received
脆弱性の種類
CWE-22、CWE-59

深刻度(CVSS)

  • 7.1 HighCVSS 3.1/副/評価:security-advisories@github.comCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

解消方法

  • 解消方法の情報なし

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-11-06 のレポートCode Graph RAG:リポジトリ内のシンボリックリンクで範囲外の読み書き

MCP サーバー。structural_search が範囲外を読み、structural_replace が範囲外を上書きする。NVD の記録では 0.0.589 未満が対象で、0.0.589 で修正。CISA の SSVC は exploitation が poc。

悪用状況(編集部):攻撃コード(PoC)が公開根拠

参照(NVD)

NVD から取得:2026-11-05T21:45:29.615Z

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)によります。