Ollama
Ollama 0.14.0 before 0.31.2 Experimental Agent Bash Approval Bypass via Prefix-Based Authorization
Ollama versions 0.14.0 before 0.31.2 contain an incorrect authorization vulnerability in the experimental agent mode Bash tool approval mechanism that fails to properly parse shell syntax. Attackers who can influence model output through prompt injection can execute additional shell commands by appending control operators like semicolons or logical operators to approved commands, bypassing the session approval requirement.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.14.0, < 0.31.2
Fixed in 0.31.2
Mitigation
Upgrade ollama to 0.31.2 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 16 days after publication; not in CISA KEV. First PoC: akinerkisa/blindllama-cve-2026-102697 (created 15 Oct 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| akinerkisa/blindllama-cve-2026-102697 | 15 Oct 2026 +16 d | 14 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.