Skip to content

Translation in progress Some entries still include text in the original language.

EventPast event

Ollama Agent mode Bash approval prefix bypass vulnerability

1 reports1 reporting sources

Start here

AI overview

Ollama 0.14.0 至 0.31.1 的实验性 Agent 模式存在审批绕过漏洞 CVE-2026-102697,CVSS v4.0 评分为 8.5。系统按命令及路径前缀记住用户的长期批准,却未完整检查复合命令的实际执行内容,攻击者可能通过提示注入把未获批准的操作拼接到看似已批准的命令后执行,且额外操作不会出现在审批提示中。该漏洞已在 0.31.2 修复,修复版本于 2026 年 7 月发布,但当时的发布说明未提及安全。

Generated by AI from reports · Updated 7 hr ago

Progress timeline

Date not provided
  1. Date not given
    threatfrontier.comSelected
    Ollama Agent mode approves Bash commands by prefix, and prompt injection can chain arbitrary commands (CVE-2026-102697)

    Ollama 0.14.0 through 0.31.1 experimental Agent mode has an approval bypass vulnerability CVE-2026-102697, with a CVSS v4.0 score of 8.5, fixed in 0.31.2. The system remembers users' long-term approvals by command and path prefix, but does not fully check the actual executed content of compound commands. Attackers may therefore, through prompt injection, append unapproved operations to seemingly approved commands for execution, and the additional operations do not appear in the approval prompt. The report notes that the fixed version was released in July 2026, but the release notes at the time did not mention the security fix; as of the report, there were no reported actual exploits.

Related discussion

No discussion links have been collected for this event yet.

Attention trend

New sources per day

1 in 10 days·most 1 (Oct 5)·today 0

  • Oct 5: 1 new sources (1 outlets, 0 accounts)
  • Oct 6: 0 new sources (0 outlets, 0 accounts)
  • Oct 7: 0 new sources (0 outlets, 0 accounts)
  • Oct 8: 0 new sources (0 outlets, 0 accounts)
  • Oct 9: 0 new sources (0 outlets, 0 accounts)
  • Oct 10: 0 new sources (0 outlets, 0 accounts)
  • Oct 11: 0 new sources (0 outlets, 0 accounts)
  • Oct 12: 0 new sources (0 outlets, 0 accounts)
  • Oct 13: 0 new sources (0 outlets, 0 accounts)
  • Oct 14: 0 new sources (0 outlets, 0 accounts)

Hourly attention

No comparable trend data