CVE-2026-102697
highOllama 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…
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/ollama/ollama disclosure@vulncheck.com
- https://github.com/ollama/ollama/blob/v0.31.1/x/agent/approval.go#L204-L206 disclosure@vulncheck.com
- https://github.com/ollama/ollama/blob/v0.31.1/x/agent/approval.go#L389 disclosure@vulncheck.com
- https://github.com/ollama/ollama/commit/a2b3a5e9a3956bc0700a8505580c11faf4da09b5 disclosure@vulncheck.com
- https://github.com/ollama/ollama/releases/tag/v0.31.2 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/ollama-0.14.0-before-0.31.2-experimental-agent-bash-a... disclosure@vulncheck.com
