在 Mistral Vibe 2.25.4 版本之前,存在一个命令权限绕过漏洞。攻击者可以通过在单引号变量值中隐藏命令替换来执行任意命令,而这种命令替换无法被 tree-sitter-bash 静态解析器检测到。攻击者可以构造输入,例如将命令替换嵌入单引号变量中,并使用 ${var@P} 提示符变换操作符重新展开它,从而触发 bash 的 promptvars 特性在运行时执行隐藏的命令。由于只有末尾的允许列出的命令被分类识别,这会导致以终端会话权限静默执行任意命令。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| mistralai | mistral-vibe | < 2.25.4 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| mistralai | mistral-vibe | 0 ~ 2.25.4 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet