English version →
カテゴリ
CVE-2026-85740 high CVSS 7.1

lightrag-hku に SSRF (サーバー側リクエスト偽造) (CVE-2026-85740)

概要

lightrag-hku に SSRF (CVE-2026-85740) が存在。機密情報が外部に流出する可能性があります。is_global 経由で攻撃可能。対策: 1.5.5 以上に更新。

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

Summary

LightRAG's native markdown parser downloads external images referenced by an uploaded markdown or textpack document. The only SSRF guard, _validated_addresses() in lightrag/parser/markdown/parser.py, resolves the image host and rejects it when the resolved IP is not is_global. That check is evaluated on the raw resolved address and never decodes IPv6 transition wrappers that embed an internal IPv4. Python's ipaddress classifies a NAT64 (64:ff9b::/96 and the RFC 8215 64:ff9b:1::/48 prefix), IPv4-compatible (::a.b.c.d), or 6to4 (2002::/16) literal that wraps an internal IPv4 as globally routable, so the guard passes it. On a host with NAT64/DNS64 routing the request is then delivered to the embedded internal target (loopback, RFC1918, or a cloud metadata endpoint), and the fetched body is ingested. The plain and IPv4-mapped (::ffff:) forms of the same internal address are correctly blocked, so this is an encoding that defeats the existing filter.

Affected component and versions

  • Package: lightrag-hku (LightRAG), the native markdown image-download path.
  • Component: lightrag/parser/markdown/parser.py, guard _validated_addresses() (the if not (ip.is_global or ...) check), reached from _download() -> _build_guarded_opener().open(req).
  • Enabled by default: download_enabled = _env_bool("NATIVE_MD_IMAGE_DOWNLOAD_ENABLED", True).
  • Affected: LightRAG <= 1.5.4 (latest release at time of report, commit 9a45b64).
  • Precondition: the…

出典: NIST National Vulnerability Database NVD GitHub Advisory

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

lightrag-hku という製品で、CVE-2026-85740 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに is_global のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 7.1/10 です。
対策: lightrag-hku を 1.5.5 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「lightrag-hku CVE-2026-85740」を検索してください。

CVE-2026-85740 (lightrag-hku) — CWE-918 / CVSS v3 7.1
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 被害者操作不要
脆弱箇所: is_global / ipaddress / ipaddress._private_networks / _validated_addresses
修正バージョン: 1.5.5 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

❓ 何が問題か

lightrag-hku に SSRF (サーバー側リクエスト偽造) (CWE-918) があります。攻撃者は is_global を経由して脆弱な処理に到達できます。

📍 影響範囲

lightrag-hku の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: is_global / ipaddress / ipaddress._private_networks / _validated_addresses。

🔥 重要度

重要度: 重要 (CVSS 7.1/10)。機密情報が外部に流出する可能性があります。

🔧 修正方法

1.5.5 に更新してください。

🛡️ 暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

🔍 検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定 identify
    grep -r 'lightrag-hku' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で lightrag-hku を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    パッチ適用 patch
    Upgrade lightrag-hku to 1.5.5

    ステージング環境で 1.5.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証 verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

pip lightrag-hku
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.5"}]}]

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく