| Title | MaxKBにおける複数の脆弱性 |
|---|---|
| Summary | MaxKBは企業向けのオープンソースAIアシスタントです。バージョン2.7.1以下にはToolExecutorコンポーネントにサンドボックスエスケープの脆弱性があります。Pythonのctypesライブラリを活用して生のシステムコールを実行することで、ワークスペース権限を持つ認証済み攻撃者がLD_PRELOADベースのsandbox.soモジュールを回避し、直接カーネルシステムコールを使って任意のコードを実行できます。その結果、完全なネットワーク情報の流出やコンテナの乗っ取りが可能になります。このライブラリはexecve、system、connect、openなどの重要な標準システム関数をインターセプトします。また、サンドボックス化されたPythonプロセス内で実行可能メモリ(PROT_EXEC)の割り当てを防ぐためにmprotectもインターセプトしますが、pkey_mprotectはブロックしません。この問題はバージョン2.8.0で修正されています。 |
| Possible impacts | 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアの一部が停止する可能性があります。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | April 14, 2026, midnight |
| Registration Date | April 21, 2026, 10:45 a.m. |
| Last Update | April 21, 2026, 10:45 a.m. |
| CVSS3.0 : 重要 | |
| Score | 7.4 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| MaxKB |
| MaxKB 2.8.0 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年04月21日] 掲載 |
April 21, 2026, 10:45 a.m. |
| Summary | MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain a sandbox escape vulnerability in the ToolExecutor component. By leveraging Python's ctypes library to execute raw system calls, an authenticated attacker with workspace privileges can bypass the LD_PRELOAD-based sandbox.so module to achieve arbitrary code execution via direct kernel system calls, enabling full network exfiltration and container compromise. The library intercepts critical standard system functions such as execve, system, connect, and open. It also intercepts mprotect to prevent PROT_EXEC (executable memory) allocations within the sandboxed Python processes, but pkey_mprotect is not blocked. This issue has been fixed in version 2.8.0. |
|---|---|
| Publication Date | April 14, 2026, 10:16 a.m. |
| Registration Date | April 15, 2026, 11:39 a.m. |
| Last Update | April 21, 2026, 2:35 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:* | 2.8.0 | ||||