| 概要 | AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to 1.13.0, the filesystem-search-files agent skill passes its LLM-controlled pattern parameter to ripgrep as a positional argument without a -- end-of-options separator. ripgrep parses any argument that starts with - as an option, so a pattern of --pre=/bin/sh turns ripgrep into a script executor: it runs /bin/sh <file> for every file it walks. An attacker who can chat with an agent on a deployment with the filesystem plugin enabled (the default in the official Docker image) can use this, together with the sibling filesystem-write-text-file skill, to run arbitrary commands inside the AnythingLLM server container. This vulnerability is fixed in 1.13.0. |
|---|---|
| 公表日 | 2026年5月29日7:17 |
| 登録日 | 2026年5月30日4:11 |
| 最終更新日 | 2026年5月30日13:17 |
| CVSS3.1 : HIGH | |
| スコア | 8.8 |
|---|---|
| ベクター | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:* | 1.13.0 | ||||
| タイトル | mintplexlabsのanythingllmにおける複数の脆弱性 |
|---|---|
| 概要 | AnythingLLMは、コンテンツの断片を任意のLLMがチャット中に参照できるコンテキストに変換するアプリケーションです。バージョン1.13.0以前では、filesystem-search-filesエージェントスキルがLLM制御のパターンパラメータを--オプション終了セパレータなしでripgrepに位置引数として渡していました。ripgrepは、-で始まる引数をオプションとして解析するため、パターンが--pre=/bin/shの場合、ripgrepはスクリプト実行環境となり、ディレクトリ内の全ファイルに対して/bin/sh fileを実行します。filesystemプラグインが有効(公式Dockerイメージのデフォルト)な展開において、エージェントとチャット可能な攻撃者は、filesystem-write-text-fileスキルと組み合わせることでAnythingLLMサーバーコンテナ内で任意のコマンドを実行できます。この脆弱性はバージョン1.13.0で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月28日0:00 |
| 登録日 | 2026年6月3日17:00 |
| 最終更新日 | 2026年6月3日17:00 |
| mintplexlabs |
| anythingllm 1.13.0 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月03日] 掲載 |
2026年6月3日17:00 |