LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5…
概要
XSS (クロスサイトスクリプティング) (CVE-2026-86062) が報告されています。不正な操作・情報露出のリスクがあります。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
The LightRAG WebUI renders assistant/answer chat content as raw HTML — react-markdown is
configured with rehypePlugins={[rehypeRaw]} and skipHtml={false} and no HTML sanitizer
(rehype-sanitize), element allow-list, or custom urlTransform. Because answer content is derived
from user-ingested documents, an attacker who can add a single document can store an HTML/JavaScript
payload that executes in the browser of any user who later retrieves it (typically an administrator),
leading to auth-token theft from localStorage and full API takeover. No authentication is required in
the default configuration.
Details
Sink — lightrag_webui/src/components/retrieval/ChatMessage.tsx:
- Main answer (
MessageMarkdown, lines ~348-351) and thinking content (lines ~252-272) render with
rehypePlugins={[rehypeRaw, …]}andskipHtml={false}. Thecomponentsmap (lines ~111-156) only
restyles safe formatting tags (p,h1–h4,ul,ol,li,code); there is no
rehype-sanitize, noallowedElements/disallowedElements, and no customurlTransform. - Second sink: mermaid is initialized with
securityLevel: 'loose'(line ~433) and the rendered SVG is
injected viacontainer.innerHTML = svg(line ~483) +bindFunctions(container).'loose'disables
mermaid's output sanitization, so a```mermaidblock in answer content (HTML label /click
directive) is an additional script-execution path. - Hardening (not code execution): KaTeX…
出典: NIST National Vulnerability Database NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
CVE-2026-86062 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 6.1/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「CVE-2026-86062」を検索してください。
CVE-2026-86062 — CWE-79 / CVSS v3 6.1
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
クロスサイトスクリプティング (XSS) (CWE-79) が報告されています。
影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 中 (CVSS 6.1/10)。不正な操作・情報露出のリスクがあります。
ベンダー公式アドバイザリの修正版に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで影響コンポーネントを特定する。
-
2事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com